From 2ec870a2c2825984220d8445a36617582fc2cf67 Mon Sep 17 00:00:00 2001 From: Zeno Tajoli Date: Sun, 15 Feb 2015 17:40:06 +0100 Subject: [PATCH] Bug 12948: Use word indexing for language (MARC21) This patch is for MARC21. To test: 1)Setup a site with MARC21 2)Insert 2 record, one lang A in 041 and 008 pos 35-37 an other with lang A in 041 and lang B in 008 pos 35-37 3)Index them 4)Search in advanced search with filter 'languare' for lan A. You will see 2 records 5)Search in advanced search with filter 'languare' for lan B. You will see 0 records 6)Apply the patch 7)Full reindex 8)Search in advanced search with filter 'languare' for lan B. You will see 1 records http://bugs.koha-community.org/show_bug.cgi?id=12948 Signed-off-by: Magnus Enger I have *not* actually tested this, but the changes are identical to the ones done for NORMARC, which I have tested, so I think it is safe to sign off. If anyone disagrees, please reset the bug to "Needs signoff". Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c29a53ea20d668f135c62abbc7dda1bf282be8f0) Signed-off-by: Chris Cormack --- .../marc_defs/marc21/biblios/biblio-koha-indexdefs.xml | 4 ++-- .../marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml index c7dd16661a..8ad9db1907 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml @@ -39,7 +39,7 @@ ff7-01-02:w - + date-entered-on-file:n @@ -77,7 +77,7 @@ bio:w - ln:n + ln:w ctype:w diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl index db4c6f2c1c..a0f68f1e1f 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl @@ -122,7 +122,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + -- 2.39.5