In distribution formulas, adds the fund year in parentheses to the
funds listed in the Fund drop-down menu.
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
var _collection_code_textboxes = [];
var _collection_code_kludge_active = false;
var fundSearchFilter = {active : 't'};
+var fundLabelFormat = ['${0} (${1})', 'code', 'year'];
+
function gridDataLoader() {
fListGrid.resetStore();
fmField : field,
fmObject : entry,
fmClass : 'acqdfe',
+ labelFormat: (field == 'fund') ? fundLabelFormat : null,
searchFilter : (field == 'fund') ? fundSearchFilter : null,
parentNode : byName(row, field),
orgDefaultsToWs : true,