Bugzilla – Attachment 42276 Details for
Bug 14472
Wrong ISSN search index in record matching rules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14472: (follow-up) Wrong ISSN search index in record matching rules
Bug-14472-follow-up-Wrong-ISSN-search-index-in-rec.patch (text/plain), 3.94 KB, created by
Jonathan Druart
on 2015-09-03 08:54:48 UTC
(
hide
)
Description:
Bug 14472: (follow-up) Wrong ISSN search index in record matching rules
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-09-03 08:54:48 UTC
Size:
3.94 KB
patch
obsolete
>From b60af8932995456d9c6047f52957fac9d6baa957 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <jonathan.druart@bugs.koha-community.org> >--- > .../marcflavour/unimarc/opzionali/unimarc_default_matching_rules.sql | 2 +- > .../marcflavour/unimarc/optional/unimarc_default_matching_rules.sql | 2 +- > .../marcflavour/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 772bc68..96bb223 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 77866fd..29852a4 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 77866fd..29852a4 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.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14472
:
40721
|
40722
|
40724
|
40725
|
40801
|
40840
|
42256
|
42275
| 42276 |
42710