From 4c40fdb4631cba6f455eaca940a1811db5f9a499 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Tue, 3 Jul 2018 16:57:27 -0400 Subject: [PATCH] LP#1732761: Batch item edit and multiple values per field Previous to this commit, the display of multiple different values for a field in the item attribute editor was simply to display no value. Here we add a UI component that presents the list of unique values, the number of selected copies that use each value, and the ability to select just those copies using a particular value by clicking on the desired value. Signed-off-by: Mike Rylander --- Open-ILS/src/templates/staff/cat/volcopy/index.tt2 | 8 ++ .../templates/staff/cat/volcopy/t_attr_edit.tt2 | 54 +++++++++++++ .../src/templates/staff/share/t_listcounts.tt2 | 11 +++ .../web/js/ui/default/staff/cat/volcopy/app.js | 89 ++++++++++++++++++++++ Open-ILS/web/js/ui/default/staff/services/grid.js | 19 +++++ Open-ILS/web/js/ui/default/staff/services/ui.js | 44 +++++++++++ 6 files changed, 225 insertions(+) create mode 100644 Open-ILS/src/templates/staff/share/t_listcounts.tt2 diff --git a/Open-ILS/src/templates/staff/cat/volcopy/index.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/index.tt2 index f93cb5619b..0773dc6c7b 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/index.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/index.tt2 @@ -13,6 +13,14 @@