From 63659988df1a90ae54e28398a2b030484212fce5 Mon Sep 17 00:00:00 2001 From: Mathieu Saby Date: Wed, 25 Sep 2013 09:34:20 +0200 Subject: [PATCH] Bug 8252: Fixing biblio-zebra-indexdefs.xsl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes biblio-zebra-indexdefs.xsl files. It was generated from biblio-koha-indexdefs.xsm with the new koha-indexdefs-to-zebra.xsl amended by F. Démians's patch. To test : - take a DOM UNIMARC Koha - apply all the patchs of 8252 bug, including this one - copy src/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl to your etc/zebradb/marc_defs/unimarc/biblios/ located in your installation directory - run rebuid_zebra -b -x -r -v - make advanced searches on staff interface and opac, on coded fields indexes (Audience, Literary genre, Biography, Illustration, Content, Video Types, Serial Type, Periodicity, Regularity, Picture) Signed-off-by: Frédéric Demians Ok for me. This patch put in sync indexes XSL definition with authoritative XML definition. Subsequently, it won't be difficult to amend DOM UNIMARC indexes defintion if necessary. And, as it is, I don't see any regression, whereas I can see huge improvements. Thanks Mathieu! --- .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 75 ++++++++++---------- 1 files changed, 38 insertions(+), 37 deletions(-) diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl index ea7d9e4..78f8850 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl @@ -39,6 +39,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + @@ -457,63 +458,63 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + - + - + - + - + - + - + - + @@ -540,13 +541,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - - - - - - @@ -567,7 +561,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -595,44 +589,51 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + - + - + - + + + + + + + + - + @@ -642,63 +643,63 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + - + - + - + - + - + - + - + @@ -707,7 +708,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -716,21 +717,21 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + - + - + @@ -3090,7 +3091,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + -- 1.7.2.5