LP#1053397 global flag for MR holds format attr
authorBill Erickson <berick@esilibrary.com>
Wed, 29 Jan 2014 22:41:48 +0000 (17:41 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 29 Jan 2014 22:41:48 +0000 (17:41 -0500)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi-mmr.sql

index e2f1225..7344f72 100644 (file)
@@ -171,4 +171,16 @@ BEGIN
 END;
 $F$ LANGUAGE PLPGSQL STABLE;
 
+
+-- SEED DATA ---------------------------------------------------------------
+
+-- by default, use the same format record attribute as that used for icons
+-- TODO: verify attr name still matches
+INSERT INTO config.global_flag (name, label, value, enabled) VALUES (
+    'opac.metarecord.holds.format_attr', 
+    'OPAC Metarecord Hold Formats Attribute', 
+    'local_format', 
+    TRUE
+);
+
 COMMIT;