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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2015-09-03 09:53:18 +01:00 committed by Tomas Cohen Arazi
parent 0b17dd3634
commit f4ccbcfabd
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;