From 3d9ddf0ab2669f7314a73d7716546d043cfa354d Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 25 Jan 2013 11:35:27 -0500 Subject: [PATCH] LP#1105225: update LOC z39.50 target seed data This patch updates the seed data from the target list at http://www.loc.gov/z3950/lcserver.html#addr. It also changes the structure attribute for the 'lccn' search attribute to wordlist, which means that LCCNs can be searched without having to enter the leading spaces. Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson Signed-off-by: Ben Shum --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 829dafac2f..3beb825d67 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -353,7 +353,7 @@ INSERT INTO config.i18n_locale (code,marc_code,name,description) -- Z39.50 server attributes INSERT INTO config.z3950_source (name, label, host, port, db, auth) - VALUES ('loc', oils_i18n_gettext('loc', 'Library of Congress', 'czs', 'label'), 'z3950.loc.gov', 7090, 'Voyager', FALSE); + VALUES ('loc', oils_i18n_gettext('loc', 'Library of Congress', 'czs', 'label'), 'lx2.loc.gov', 210, 'LCDB', FALSE); INSERT INTO config.z3950_source (name, label, host, port, db, auth) VALUES ('oclc', oils_i18n_gettext('oclc', 'OCLC', 'czs', 'label'), 'zcat.oclc.org', 210, 'OLUCWorldCat', TRUE); INSERT INTO config.z3950_source (name, label, host, port, db, auth) @@ -364,7 +364,7 @@ INSERT INTO config.z3950_attr (id, source, name, label, code, format) INSERT INTO config.z3950_attr (id, source, name, label, code, format) VALUES (2, 'loc', 'isbn', oils_i18n_gettext(2, 'ISBN', 'cza', 'label'), 7, 6); INSERT INTO config.z3950_attr (id, source, name, label, code, format) - VALUES (3, 'loc', 'lccn', oils_i18n_gettext(3, 'LCCN', 'cza', 'label'), 9, 1); + VALUES (3, 'loc', 'lccn', oils_i18n_gettext(3, 'LCCN', 'cza', 'label'), 9, 6); INSERT INTO config.z3950_attr (id, source, name, label, code, format) VALUES (4, 'loc', 'author', oils_i18n_gettext(4, 'Author', 'cza', 'label'), 1003, 6); INSERT INTO config.z3950_attr (id, source, name, label, code, format) -- 2.43.2