From 4a475df53073daa935458b4c4f778667c156d080 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 23 May 2018 00:11:04 -0400 Subject: [PATCH] LP#1750894 More workstation settings cat.holdings_show_copies cat.holdings_show_empty cat.holdings_show_vols Signed-off-by: Bill Erickson --- .../Pg/upgrade/YYYY.data.workstation-settings.sql | 22 ++++++++++++++++++++++ Open-ILS/web/js/ui/default/staff/services/hatch.js | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql b/Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql index eba7fe9f68..3efb30a8b6 100644 --- a/Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql +++ b/Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql @@ -93,8 +93,30 @@ VALUES ( 'Checkin: Strict Barcode', 'cwst', 'label' ) +), ( + 'cat.holdings_show_copies', 'cat', 'bool', + oils_i18n_gettext( + 'cat.holdings_show_copies', + 'Holdings View Show Copies', + 'cwst', 'label' + ) +), ( + 'cat.holdings_show_empty', 'cat', 'bool', + oils_i18n_gettext( + 'cat.holdings_show_empty', + 'Holdings View Show Empty Volumes', + 'cwst', 'label' + ) +), ( + 'cat.holdings_show_vols', 'cat', 'bool', + oils_i18n_gettext( + 'cat.holdings_show_vols', + 'Holdings View Show Volumes', + 'cwst', 'label' + ) ); + /* INSERT INTO permission.perm_list (id, code, description) VALUES diff --git a/Open-ILS/web/js/ui/default/staff/services/hatch.js b/Open-ILS/web/js/ui/default/staff/services/hatch.js index 6fa8ae228a..e9d45689b9 100644 --- a/Open-ILS/web/js/ui/default/staff/services/hatch.js +++ b/Open-ILS/web/js/ui/default/staff/services/hatch.js @@ -87,7 +87,10 @@ angular.module('egCoreMod') 'circ.checkin.strict_barcode', 'eg.circ.patron.summary.collapse', 'circ.bills.receiptonpay', - 'circ.renew.strict_barcode' + 'circ.renew.strict_barcode', + 'cat.holdings_show_copies', + 'cat.holdings_show_empty', + 'cat.holdings_show_vols' ]; service.keyStoredOnServer = function(key) { -- 2.11.0