From: miker Date: Fri, 3 Dec 2010 21:15:32 +0000 (+0000) Subject: The "All Subjects" index never made it into 1.6, so we need it in the upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9a1675d65aa1522f90bea181e30dd685a9b934a3;p=evergreen%2Ftadl.git The "All Subjects" index never made it into 1.6, so we need it in the upgrade script git-svn-id: svn://svn.open-ils.org/ILS/trunk@18919 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql b/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql index 61649529d6..b4a31ed133 100644 --- a/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql @@ -15503,6 +15503,9 @@ CREATE INDEX scecm_owning_copy_idx ON asset.stat_cat_entry_copy_map(owning_copy) INSERT INTO config.metabib_class ( name, label ) VALUES ( 'identifier', oils_i18n_gettext('identifier', 'Identifier', 'cmc', 'name') ); +INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath ) VALUES + (16, 'subject', 'complete', oils_i18n_gettext(16, 'All Subjects', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject//text()$$ ); + INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_field ) VALUES (17, 'identifier', 'accession', oils_i18n_gettext(17, 'Accession Number', 'cmf', 'label'), 'marcxml', $$//marcxml:datafield[tag="001"]/text()$$, TRUE ); INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_field ) VALUES