From f4ccbcfabd73c8c1ed88c796bd3cb7febe0a68c8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 3 Sep 2015 09:53:18 +0100 Subject: [PATCH] Bug 14472: (follow-up) Wrong ISSN search index in record matching rules Follow-up for - it-IT unimarc - ru-RU unimarc - uk-UA unimarc Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../unimarc/opzionali/unimarc_default_matching_rules.sql | 2 +- .../unimarc/optional/unimarc_default_matching_rules.sql | 2 +- .../unimarc/optional/unimarc_default_matching_rules.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/it-IT/marcflavour/unimarc/opzionali/unimarc_default_matching_rules.sql b/installer/data/mysql/it-IT/marcflavour/unimarc/opzionali/unimarc_default_matching_rules.sql index 772bc683fd..96bb223f04 100644 --- a/installer/data/mysql/it-IT/marcflavour/unimarc/opzionali/unimarc_default_matching_rules.sql +++ b/installer/data/mysql/it-IT/marcflavour/unimarc/opzionali/unimarc_default_matching_rules.sql @@ -26,7 +26,7 @@ INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_ INSERT INTO marc_matchers (code, description, record_type, threshold) VALUES ('ISSN', '011$a', 'biblio', 1000); -INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'isbn', 1000 FROM marc_matchers; +INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'issn', 1000 FROM marc_matchers; INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints; INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields) SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints; diff --git a/installer/data/mysql/ru-RU/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql b/installer/data/mysql/ru-RU/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql index 77866fdcd0..29852a4aa7 100644 --- a/installer/data/mysql/ru-RU/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql +++ b/installer/data/mysql/ru-RU/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql @@ -26,7 +26,7 @@ INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_ INSERT INTO marc_matchers (code, description, record_type, threshold) VALUES ('ISSN', '011$a', 'biblio', 1000); -INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'isbn', 1000 FROM marc_matchers; +INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'issn', 1000 FROM marc_matchers; INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints; INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields) SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints; diff --git a/installer/data/mysql/uk-UA/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql b/installer/data/mysql/uk-UA/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql index 77866fdcd0..29852a4aa7 100644 --- a/installer/data/mysql/uk-UA/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql +++ b/installer/data/mysql/uk-UA/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql @@ -26,7 +26,7 @@ INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_ INSERT INTO marc_matchers (code, description, record_type, threshold) VALUES ('ISSN', '011$a', 'biblio', 1000); -INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'isbn', 1000 FROM marc_matchers; +INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'issn', 1000 FROM marc_matchers; INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints; INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields) SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints; -- 2.20.1