]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1831785 Combobox pcrud selector and pkey support
authorBill Erickson <berickxx@gmail.com>
Mon, 29 Jul 2019 15:36:38 +0000 (11:36 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 30 Jul 2019 14:58:58 +0000 (07:58 -0700)
commit853e7b2408872bd3b95d88191b0908baf75e115c
treec137984b14125318700a05e8a5ae71e66b92a3b9
parentcb6efeb8261a50f101a40fa9d96268a937636e39
LP1831785 Combobox pcrud selector and pkey support

Teach the PCRUD-driven combobox to use the IDL class' selector field
as the sort and display field when no idlField value is provided.

Teach the async source to use the pkey field of the IDL class instead of
assuming the 'id' field.

Tweak the sandbox example to fetch data for a class which uses a
selector not called "name" and a pkey not called "id".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html