]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1785061: Split filter value on comma for "in list" and the like
authorRemington Steed <rjs7@calvin.edu>
Thu, 2 May 2019 13:15:30 +0000 (09:15 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 14 Aug 2019 13:06:56 +0000 (09:06 -0400)
commita31074eb5073086d54d8208c00b6958505ead30a
tree38950d4669d39e6378c495695b0c623431b3f7ed
parent094fe6e0ed99bdd188777f71c1966cc25a01b22c
LP#1785061: Split filter value on comma for "in list" and the like

This commit borrows directly from the XUL reporter code (see
function __default_value_event_handler () in
Open-ILS/web/reports/xul/template-config.js). Basically, when the filter
value is saved, certain cases need special treatment, such as splitting
an "in list" value on commas. This commit includes a helper function
which does the special treatment and saves the filter value. This helper
is called both when the value itself is changed, and when the operator
is changed.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Conflicts:
Open-ILS/web/js/ui/default/staff/reporter/template/app.js

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/web/js/ui/default/staff/reporter/template/app.js