]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1858138 Link selector consolidation/repairs
authorBill Erickson <berickxx@gmail.com>
Thu, 2 Jan 2020 21:17:59 +0000 (16:17 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 3 Jan 2020 19:36:31 +0000 (14:36 -0500)
commitd24cf32e42fd6d624b69122d8d4c72e8eaba50ae
treee0f19a234cd0b66a24f54b02f243c4a8e6c386f8
parentf892fc8015233118998b8aa66a2a83a4215f1848
LP1858138 Link selector consolidation/repairs

Move more of the IDL link class selector extraction logic into the IDL
service.

Avoid using 'name' as a fall-through selector field when no 'name' field
exists on the class.

Teach the idl service to log warnings on invalid class and field name
combinations in selector lookups.

Modify fm-editor and combobox to use the new idl link selector
functions.

While we're in there, avoid unnecessary API calls from the combobox
by preventing async data lookups with a search term of "_CLICK_".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/core/idl.service.ts
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts