Per http://ur1.ca/2bgc4, this behavior hews more closely to the MARC21
specification. Note, however, that duplicate bib detection in the
"Import via Z39.50" interface will be somewhat affected; a more
trustworthy workaround is to include the "Local catalog" in Z39.50 searches to
determine if a matching record already exists in the database.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18693
dcc99617-32d9-48b4-a31d-
7c20da2025e4
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0462'); -- gmc
+INSERT INTO config.upgrade_log (version) VALUES ('0463'); -- dbs
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
) INHERITS (config.internal_flag);
ALTER TABLE config.global_flag ADD PRIMARY KEY (name);
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
+INSERT INTO config.global_flag (name, label, enabled)
VALUES (
'cat.bib.use_id_for_tcn',
oils_i18n_gettext(
'Cat: Use Internal ID for TCN Value',
'cgf',
'label'
- )
+ ),
+ TRUE
);
-- resolves performance issue noted by EG Indiana
ALTER TABLE authority.record_entry ADD COLUMN owner INT;
ALTER TABLE serial.record_entry ADD COLUMN owner INT;
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
+INSERT INTO config.global_flag (name, label, enabled)
VALUES (
'cat.maintain_control_numbers',
oils_i18n_gettext(
'Cat: Maintain 001/003/035 according to the MARC21 specification',
'cgf',
'label'
- )
+ ),
+ TRUE
);
INSERT INTO config.global_flag (name, label, enabled)
)
);
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
+INSERT INTO config.global_flag (name, label, enabled)
VALUES (
'cat.bib.use_id_for_tcn',
oils_i18n_gettext(
'Cat: Use Internal ID for TCN Value',
'cgf',
'label'
- )
+ ),
+ TRUE
);
INSERT INTO config.global_flag (name,label,enabled)
TRUE
);
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
+INSERT INTO config.global_flag (name, label, enabled)
VALUES (
'cat.maintain_control_numbers',
oils_i18n_gettext(
'Cat: Maintain 001/003/035 according to the MARC21 specification',
'cgf',
'label'
- )
+ ),
+ TRUE
);
INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0463'); -- dbs
+
+UPDATE config.global_flag
+ SET enabled = TRUE
+ WHERE name IN ('cat.bib.use_id_for_tcn', 'cat.maintain_control_numbers')
+;
+
+COMMIT;