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>
Tue, 25 Aug 2020 16:23:38 +0000 (12:23 -0400)
commit0ccf71b4c7b1734d90c7aee1a43aa00775e80dc8
tree2ae98f876c76c60e5289142b21d052e3d59ae8bb
parentb1b11be9eabfe742844839d18515efca2f8678a9
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