Clear-shelf includes pickup-lib changes : sql clear-holds-shows-pickup-change
authorBill Erickson <berick@esilibrary.com>
Wed, 22 Aug 2012 15:48:52 +0000 (11:48 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 22 Aug 2012 15:48:52 +0000 (11:48 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.clear_shelf_pl_changed.sql [new file with mode: 0644]

index 41eb5fe..4d2bf39 100644 (file)
@@ -11836,3 +11836,23 @@ INSERT into config.org_unit_setting_type
         'bool'
     );
 
+INSERT into config.org_unit_setting_type
+    (name, grp, label, description, datatype)
+    VALUES (
+        'circ.holds.clear_shelf.include_pl_changed',
+        'holds',
+        oils_i18n_gettext(
+            'circ.holds.clear_shelf.include_pl_changed',
+            'Clear shelf process includes Wrong-Shelf holds',
+            'coust',
+            'label'
+        ),
+        oils_i18n_gettext(
+            'circ.holds.clear_shelf.include_pl_changed',
+            'If enabled, we include Wrong-Shelf holds in the results list of the holds clear shelf process.  Wrong-Shelf holds are those whose pickup lib was changed while the hold was on the holds shelf',  
+            'coust',
+            'description'
+        ),
+        'bool'
+    );
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.clear_shelf_pl_changed.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.clear_shelf_pl_changed.sql
new file mode 100644 (file)
index 0000000..19216c8
--- /dev/null
@@ -0,0 +1,25 @@
+BEGIN;
+
+-- SELECT evergreen.upgrade_deps_block_check('0730', :eg_version);
+
+INSERT into config.org_unit_setting_type
+    (name, grp, label, description, datatype)
+    VALUES (
+        'circ.holds.clear_shelf.include_pl_changed',
+        'holds',
+        oils_i18n_gettext(
+            'circ.holds.clear_shelf.include_pl_changed',
+            'Clear shelf process includes Wrong-Shelf holds',
+            'coust',
+            'label'
+        ),
+        oils_i18n_gettext(
+            'circ.holds.clear_shelf.include_pl_changed',
+            'If enabled, we include Wrong-Shelf holds in the results list of the holds clear shelf process.  Wrong-Shelf holds are those whose pickup lib was changed while the hold was on the holds shelf',  
+            'coust',
+            'description'
+        ),
+        'bool'
+    );
+
+COMMIT;