From bf89e306a86c440a3296fc89436ad5e854ea4f34 Mon Sep 17 00:00:00 2001 From: Zeno Tajoli Date: Sun, 15 Feb 2015 17:54:48 +0100 Subject: [PATCH] Bug 12948: Use word indexing for language (NORMARC) This patch is for Normarc Same test plan as patch for MARC21, except you need a setup with Normarc. http://bugs.koha-community.org/show_bug.cgi?id=12948 Signed-off-by: Magnus Enger - Added a record with "bul" in 008pos35-37 - Verified that this did not turn up in an advanced search with language = Bulgarian - Applied the patch - I was testing on a gitified install, so I had to copy the patched index file to the right location with this command: sudo cp etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl \ /etc/koha/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl - Did a full reindex - Verified that the record *did* turn up in an advanced search with language = Bulgarian - Signing off! Thanks Zeno! Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../marc_defs/normarc/biblios/biblio-koha-indexdefs.xml | 4 ++-- .../marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml index 5ce689f68d..0918f2a8a0 100644 --- a/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml @@ -35,7 +35,7 @@ ff7-01-02:w - + date-entered-on-file:n @@ -73,7 +73,7 @@ bio:w - ln:n + ln:w ctype:w diff --git a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl index 56d006b4a1..1eeca69697 100644 --- a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl @@ -117,7 +117,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + -- 2.39.5