LP#1850547: eg-combobox: add per-IDL-class formatting
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 26 Feb 2020 15:39:10 +0000 (10:39 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 3 Sep 2020 15:51:07 +0000 (11:51 -0400)
commitb5c5e1bbfa6724cb0eec28321274e33ec10f0073
treeb03df5ae8897ba891300fd51c2abe7bc22d64c8b
parent26644f6975e1f845d86c0faf2d1bf47278905c7a
LP#1850547: eg-combobox: add per-IDL-class formatting

This patch teaches eg-combobox to apply display templates
and label formatters for when idlClass is set. Currently templates
are defined for acqf (to display the fund as "FUND_CODE (YEAR)" and
acpl (to display the shelving location as "LABEL (OWNING_LIBRARY)".

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts
Open-ILS/src/eg2/src/app/share/common-widgets.module.ts