Lines 36-38
INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields)
Link Here
|
36 |
INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_routine) |
36 |
INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_routine) |
37 |
SELECT MAX(matchpoint_component_id), 1, 'ISSN' FROM matchpoint_components; |
37 |
SELECT MAX(matchpoint_component_id), 1, 'ISSN' FROM matchpoint_components; |
38 |
|
38 |
|
|
|
39 |
INSERT INTO marc_matchers (code, description, record_type, threshold) |
40 |
VALUES ('KohaBiblio', '999$c', 'biblio', 1000); |
41 |
INSERT INTO matchpoints (matcher_id, search_index, score) SELECT MAX(matcher_id), 'Local-Number', 1000 FROM marc_matchers; |
42 |
INSERT INTO matcher_matchpoints SELECT MAX(matcher_id), MAX(matchpoint_id) FROM matchpoints; |
43 |
INSERT INTO matchpoint_components (matchpoint_id, sequence, tag, subfields) |
44 |
SELECT MAX(matchpoint_id), 1, '999', 'c' FROM matchpoints; |
45 |
INSERT INTO matchpoint_component_norms (matchpoint_component_id, sequence, norm_routine) |
46 |
SELECT MAX(matchpoint_component_id), 1, 'Biblionumber' FROM matchpoint_components; |