LP1858138 Link selector consolidation/repairs
authorBill Erickson <berickxx@gmail.com>
Thu, 2 Jan 2020 21:17:59 +0000 (16:17 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 15:20:20 +0000 (10:20 -0500)
commit20c8c000d90709086a7408df4bab2bb27faf0955
tree74683df9806ade83b836493a76abd37d295f8e0b
parent902354b62cddf9270c38ab5d5649cb2bf1cc9986
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