install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0326'); -- phasefx
+INSERT INTO config.upgrade_log (version) VALUES ('0327'); -- berick
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
INSERT INTO query.datatype (id, datatype_name, is_numeric )
VALUES (23, 'BOOLEAN', false);
+
+INSERT INTO config.usr_setting_type (name, opac_visible, label, description, datatype)
+ VALUES (
+ 'opac.default_sort',
+ TRUE,
+ oils_i18n_gettext(
+ 'opac.default_sort',
+ 'OPAC Default Search Sort',
+ 'cust',
+ 'label'
+ ),
+ oils_i18n_gettext(
+ 'opac.default_sort',
+ 'OPAC Default Search Sort',
+ 'cust',
+ 'description'
+ ),
+ 'string'
+ );
+
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0327');
+
+INSERT INTO config.usr_setting_type (name, opac_visible, label, description, datatype)
+ VALUES (
+ 'opac.default_sort',
+ TRUE,
+ oils_i18n_gettext(
+ 'opac.default_sort',
+ 'OPAC Default Search Sort',
+ 'cust',
+ 'label'
+ ),
+ oils_i18n_gettext(
+ 'opac.default_sort',
+ 'OPAC Default Search Sort',
+ 'cust',
+ 'description'
+ ),
+ 'string'
+ );
+
+COMMIT;
+