install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0049'); -- Scott McKellar
+INSERT INTO config.upgrade_log (version) VALUES ('0050'); -- Scott McKellar
CREATE TABLE config.bib_source (
'bool'
);
+-- hold cancel display limits
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.canceled.display_count',
+ 'Holds: Canceled holds display count',
+ 'How many canceled holds to show in patron holds interfaces',
+ 'integer'
+ );
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.canceled.display_age',
+ 'Holds: Canceled holds display age',
+ 'Show all canceled holds that were canceled within this amount of time',
+ 'interval'
+ );
+
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0050');
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.canceled.display_count',
+ 'Holds: Canceled holds display count',
+ 'How many canceled holds to show in patron holds interfaces',
+ 'integer'
+ );
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.holds.canceled.display_age',
+ 'Holds: Canceled holds display age',
+ 'Show all canceled holds that were canceled within this amount of time',
+ 'interval'
+ );
+
+COMMIT;