LP#1750894 More workstation settings
authorBill Erickson <berickxx@gmail.com>
Wed, 23 May 2018 04:11:04 +0000 (00:11 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 29 May 2018 14:13:36 +0000 (10:13 -0400)
cat.holdings_show_copies
cat.holdings_show_empty
cat.holdings_show_vols

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/upgrade/YYYY.data.workstation-settings.sql
Open-ILS/web/js/ui/default/staff/services/hatch.js

index eba7fe9..3efb30a 100644 (file)
@@ -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
index 6fa8ae2..e9d4568 100644 (file)
@@ -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) {