From a9ada77f28be9cb258fcbb529dc23a5184a8e17e Mon Sep 17 00:00:00 2001 From: Mason James Date: Tue, 27 Oct 2015 13:17:21 +1300 Subject: [PATCH] Bug 15048 - subject/genre (650/655) searches fail on searches with $x 'General subdivision' subfield values to test... 1/ define both a 655$a *and* 655$x value in a bib, save, reindex 2/ in opac-detail.pl click bib's genre/form url, the search should FAIL to return a result (BAD!) :/ 3/ apply patch 4/ copy updated files to your live zebradb dir (or build/install a debian package) $ sudo cp ./etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml \ /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml $ sudo cp etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl \ /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl 5/ run a full zebra reindex 6/ in opac-detail.pl click bib's genre/form url, the search should return a result (GOOD!) :0) Signed-off-by: Nick Clemens --- etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml | 4 ++-- etc/zebradb/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 8c53c3a..d538567 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml @@ -736,8 +736,8 @@ Subject:w Subject:p - - + + Index-term-genre:w Index-term-genre:p Subject: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 50c62d3..f9844b6 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl @@ -644,7 +644,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + -- 2.1.4