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>
Fri, 31 Jul 2020 15:55:57 +0000 (11:55 -0400)
commit37e2c61e08936a6b5c0580eca65aa8414bb3af33
tree8f207add8d5a5dca26a1fe4760fc91f152d0fcf0
parenteeb5f604a931ddde9b26a184893209c93c80a814
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