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)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 13 Aug 2020 15:49:33 +0000 (11:49 -0400)
commit25ef9b120900a5742f65ebaa8aa38d5757f3c4b9
treee157a25b2c11336a3ab9cb1e2a245411ab44ebcb
parent887a654117364987c10b6676b3326c459a6d3172
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>
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