forward-porting r14372: set trucation to 1 for LoC z39.50 source
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Oct 2009 16:53:49 +0000 (16:53 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Oct 2009 16:53:49 +0000 (16:53 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@14373 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/1.4.0.5-1.6.0.0-upgrade-db.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql

index 9cefa0d..1abb13f 100644 (file)
@@ -7569,3 +7569,5 @@ ALTER TABLE config.circ_matrix_matchpoint ALTER COLUMN max_fine_rule SET NOT NUL
 
 -- We're updating the IDL, so flush cached mods slim records to avoid field mismatches
 UPDATE metabib.metarecord SET mods = NULL;
+UPDATE config.z3950_attr SET truncation = 1 WHERE source = 'loc';
+
index 5b5239a..3e350c3 100644 (file)
@@ -767,6 +767,8 @@ INSERT INTO config.z3950_attr (id, source, name, label, code, format)
 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
        VALUES (9, 'loc', 'item_type', oils_i18n_gettext(9, 'Item Type', 'cza', 'label'), 1001, 1);
 
+UPDATE config.z3950_attr SET truncation = 1 WHERE source = 'loc';
+
 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
        VALUES (10, 'oclc', 'tcn', oils_i18n_gettext(10, 'Title Control Number', 'cza', 'label'), 12, 1);
 INSERT INTO config.z3950_attr (id, source, name, label, code, format)