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>
Wed, 26 Aug 2020 17:06:56 +0000 (13:06 -0400)
commit1cfe99a32992d8dcb8c86b477d8fc7d1f08c6867
treef3cba9c3ca4f4606d89f9b95b526ee5874dbedee
parent90c57b5bd64c181ae9fbefbbfdb9968d2bdde553
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