)
);
--- NOTE: This setting should be removed once the Angular catalog
--- becomes the default.
-INSERT into config.org_unit_setting_type
- (name, datatype, grp, label, description)
-VALUES (
- 'ui.staff.angular_catalog.enabled', 'bool', 'gui',
- oils_i18n_gettext(
- 'ui.staff.angular_catalog.enabled',
- 'GUI: Enable Experimental Angular Staff Catalog',
- 'coust', 'label'
- ),
- oils_i18n_gettext(
- 'ui.staff.angular_catalog.enabled',
- 'Display an entry point in the browser client for the ' ||
- 'experimental Angular staff catalog.',
- 'coust', 'description'
- )
-);
-
INSERT INTO config.org_unit_setting_type
(name, label, description, grp, datatype)
VALUES (
INSERT INTO config.print_template
(id, name, locale, active, owner, label, template)
VALUES (
- 2, 'holds_for_bib', 'en-US', FALSE,
+ 2, 'holds_for_bib', 'en-US', TRUE,
(SELECT id FROM actor.org_unit WHERE parent_ou IS NULL),
oils_i18n_gettext(2, 'Holds for Bib Record', 'cpt', 'label'),
$TEMPLATE$
--- /dev/null
+
+BEGIN;
+
+-- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
+
+DELETE FROM actor.org_unit_setting
+ WHERE name = 'ui.staff.angular_catalog.enabled';
+
+DELETE FROM config.org_unit_setting_type_log
+ WHERE field_name = 'ui.staff.angular_catalog.enabled';
+
+DELETE FROM config.org_unit_setting_type
+ WHERE name = 'ui.staff.angular_catalog.enabled';
+
+-- activate the stock hold-for-bib server print template
+UPDATE config.print_template SET active = TRUE WHERE name = 'holds_for_bib';
+
+COMMIT;