From a6c9b931ec71002e36bb90e762ce36119c210009 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 4 Sep 2014 13:12:09 -0300 Subject: [PATCH] Bug 11232: MARC21 facet definition and updated XSL file for DOM This patch adds the facets definitions to the biblio-koha-indexdefs.xml, based on what is hardcoded on C4::Koha::getFacets(). The biblio-zebra-indexdefs.xsl file for MARC21 is generated using the usual: xsltproc ...koha-indexdefs-to-zebra.xsl ...marc21/biblios/biblio-koha-indexdefs.xml > \ ...marc21/biblios/biblio-zebra-indexdefs.xsl Sponsored-by: Universidad Nacional de Cordoba --- .../marc21/biblios/biblio-koha-indexdefs.xml | 38 ++++++++++ .../marc21/biblios/biblio-zebra-indexdefs.xsl | 86 ++++++++++++++++++++++ 2 files changed, 124 insertions(+) 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 d3ee630..34fb437 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml @@ -1284,4 +1284,42 @@ Note:w Note:p + + + au:0 + + + au:0 + + + se:0 + + + se:0 + + + su-ut:0 + + + su-to:0 + + + su-geo:0 + + + au:0 + + + itype:0 + + + homebranch:0 + + + holdingbranch:0 + + + location:0 + + 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 a4aad7b..419cc9c 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl @@ -12,6 +12,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + @@ -35,6 +36,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + @@ -2344,6 +2346,90 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 1.9.1