[open-ils-commits] r16047 - trunk/Open-ILS/src/sql/Pg (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Mar 29 16:36:30 EDT 2010
Author: phasefx
Date: 2010-03-29 16:36:24 -0400 (Mon, 29 Mar 2010)
New Revision: 16047
Modified:
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
fix paste-o for facet_field (do we need facet_xpath?) and add in missing reference to id column
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-03-29 20:36:16 UTC (rev 16046)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-03-29 20:36:24 UTC (rev 16047)
@@ -44,7 +44,7 @@
(11, 'subject', 'geographic', oils_i18n_gettext(11, 'Geographic Subject', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject/mods32:geographic$$, TRUE );
INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_xpath, facet_field ) VALUES
(12, 'subject', 'name', oils_i18n_gettext(12, 'Name Subject', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject/mods32:name$$, $$*[local-name()='namePart']$$, TRUE );
-INSERT INTO config.metabib_field ( id, field_class, name, label, format, x, facet_fieldpath ) VALUES
+INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_field ) VALUES
(13, 'subject', 'temporal', oils_i18n_gettext(13, 'Temporal Subject', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject/mods32:temporal$$, TRUE );
INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_field ) VALUES
(14, 'subject', 'topic', oils_i18n_gettext(14, 'Topic Subject', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject/mods32:topic$$, TRUE );
@@ -52,7 +52,7 @@
-- ( id, field_class, name, xpath ) VALUES ( 'subject', 'genre', 'mods32', $$//mods32:mods/mods32:genre$$ );
INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath ) VALUES
(15, 'keyword', 'keyword', oils_i18n_gettext(15, 'General Keywords', 'cmf', 'label'), 'mods32', $$//mods32:mods/*[not(local-name()='originInfo')]$$ ); -- /* to fool vim */;
-INSERT INTO config.metabib_field (field_class, name, label, format, xpath ) VALUES
+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()$$ );
SELECT SETVAL('config.metabib_field_id_seq'::TEXT, (SELECT MAX(id) FROM config.metabib_field), TRUE);
More information about the open-ils-commits
mailing list