From: Galen Charlton Date: Sat, 2 Sep 2017 15:38:32 +0000 (-0400) Subject: LP#1251394: fix typo in seed data caugh by t/24-sql-gettext-unique.t X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d5fe1cc24af2fa56cb1f5cc196441b7fa3681f50;p=contrib%2FConifer.git LP#1251394: fix typo in seed data caugh by t/24-sql-gettext-unique.t Signed-off-by: Galen Charlton --- 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 1d2f9d1259..152f508105 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -207,7 +207,7 @@ INSERT INTO config.metabib_field ( id, field_class, name, label, INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, display_field, display_xpath ) VALUES - (37, 'author', 'creator', oils_i18n_gettext(8, 'All Creators', 'cmf', 'label'), + (37, 'author', 'creator', oils_i18n_gettext(37, 'All Creators', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:name[mods32:role/mods32:roleTerm[text()='creator']]$$, TRUE, $$//*[local-name()='namePart']$$ ); -- /* to fool vim */; diff --git a/Open-ILS/src/sql/Pg/upgrade/1074.data.metabib-display-field.sql b/Open-ILS/src/sql/Pg/upgrade/1074.data.metabib-display-field.sql index 138686c608..903a57a133 100644 --- a/Open-ILS/src/sql/Pg/upgrade/1074.data.metabib-display-field.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1074.data.metabib-display-field.sql @@ -12,7 +12,7 @@ UPDATE config.metabib_field SET display_field = TRUE WHERE id IN (6, 8, 16, 18); INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, display_field, display_xpath ) VALUES - (37, 'author', 'creator', oils_i18n_gettext(8, 'All Creators', 'cmf', 'label'), + (37, 'author', 'creator', oils_i18n_gettext(37, 'All Creators', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:name[mods32:role/mods32:roleTerm[text()='creator']]$$, TRUE, $$//*[local-name()='namePart']$$ ); -- /* to fool vim */;