From 61fc4ac27a7bdb5b67d205c3943f2792f7ea9b9e Mon Sep 17 00:00:00 2001 From: Zeno Tajoli Date: Sun, 15 Feb 2015 17:54:48 +0100 Subject: [PATCH] Bug 12948 - [SIGNED-OFF] Patch-for-filter-language-in-Advanced-Search 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! --- etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml | 4 ++-- etc/zebradb/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 5ce689f..0918f2a 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 56d006b..1eeca69 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) - + -- 1.9.1