From 1094d45bb93322568db1296b730374f401f36786 Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Mon, 16 Feb 2015 18:20:30 +0100 Subject: [PATCH] Bug 13725 - Wrong zebra index type for ln in 008/35-37 Content-Type: text/plain; charset="utf-8" Index type for ln index (language) definded over 008/35-57(in MARC21 biblio dom configuration) is wrongly set to 'n' instead of 'w' (as in 041). As a result language limit in advanced search does not take into account language information form 008 and thus does not work as expected. Test plan: 1) in a biblio record of your choice set an uncommon language, e.g. 'hun' (for Hungarian), in 008/35-37 (but not in 041!) 2) reindex zebra (or wait for cron job to reindex) 3) try to find that biblio record with limit set on language = 'Hungarian' in advanced search 4) you should not be able to find that biblio record 5) apply the patch 6) reindex zebra 7) you should now be able to find this biblio record when setting limit on language --- etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml | 2 +- etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl | 2 +- 2 files changed, 2 insertions(+), 2 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 c7dd166..3e46bbd 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml @@ -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 db4c6f2..a0f68f1 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) - + -- 1.7.10.4