LP#1742779: Distinguish between no statcat values and multiple values in copy editor... user/miker/lp-1742779-none-vs-multi-statcats
authorMike Rylander <mrylander@gmail.com>
Wed, 10 Jan 2018 16:25:27 +0000 (11:25 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 11 Jan 2018 19:25:59 +0000 (14:25 -0500)
commitff5cbe3ee9886f571247a7046b140a0362ae845d
tree60ef44c3b1612a3f90d88f898fa17821dd212191
parent979d0c29018120d86ff03e12f7c66c07230420cb
LP#1742779: Distinguish between no statcat values and multiple values in copy editor to assist staff

WRT stat cats, the copy editor in the web client will display the value of a
stat cat IFF all selected copies both use the stat cat AND use the same value
for that stat cat. Otherwise it displays <NONE>, which is confusing in the
case of some selected copies just not using the stat cat, or all selected
copies using it, but using different values.

This commit provides tracking of the mixed-use stat, and displays <MULTIPLE>
for the value instead of <NONE> in that case.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js