View | Details | Raw Unified | Return to bug 14472
Collapse All | Expand All

(-)a/installer/data/mysql/it-IT/marcflavour/unimarc/opzionali/unimarc_default_matching_rules.sql (-1 / +1 lines)
Lines 26-32 INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_ Link Here
26
26
27
INSERT INTO marc_matchers (code, description, record_type, threshold)
27
INSERT INTO marc_matchers (code, description, record_type, threshold)
28
    VALUES ('ISSN', '011$a', 'biblio', 1000);
28
    VALUES ('ISSN', '011$a', 'biblio', 1000);
29
INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'isbn', 1000 FROM marc_matchers;
29
INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'issn', 1000 FROM marc_matchers;
30
INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints;
30
INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints;
31
INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields)
31
INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields)
32
    SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints;
32
    SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints;
(-)a/installer/data/mysql/ru-RU/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql (-1 / +1 lines)
Lines 26-32 INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_ Link Here
26
26
27
INSERT INTO marc_matchers (code, description, record_type, threshold) 
27
INSERT INTO marc_matchers (code, description, record_type, threshold) 
28
    VALUES ('ISSN', '011$a', 'biblio', 1000);
28
    VALUES ('ISSN', '011$a', 'biblio', 1000);
29
INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'isbn', 1000 FROM marc_matchers;
29
INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'issn', 1000 FROM marc_matchers;
30
INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints;
30
INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints;
31
INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields) 
31
INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields) 
32
    SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints;
32
    SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints;
(-)a/installer/data/mysql/uk-UA/marcflavour/unimarc/optional/unimarc_default_matching_rules.sql (-2 / +1 lines)
Lines 26-32 INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_ Link Here
26
26
27
INSERT INTO marc_matchers (code, description, record_type, threshold) 
27
INSERT INTO marc_matchers (code, description, record_type, threshold) 
28
    VALUES ('ISSN', '011$a', 'biblio', 1000);
28
    VALUES ('ISSN', '011$a', 'biblio', 1000);
29
INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'isbn', 1000 FROM marc_matchers;
29
INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'issn', 1000 FROM marc_matchers;
30
INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints;
30
INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints;
31
INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields) 
31
INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields) 
32
    SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints;
32
    SELECT MAX(matchpoint_id), 1, '011', 'a' FROM matchpoints;
33
- 

Return to bug 14472