From 30fdd6f759f7f915f3d04949f6ca5506dc92fe68 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 4 Sep 2014 13:12:52 -0300 Subject: [PATCH] Bug 11232: UNIMARC 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 UNIMARC is generated using the usual: xsltproc ...koha-indexdefs-to-zebra.xsl ...unimarc/biblios/biblio-koha-indexdefs.xml > \ ...unimarc/biblios/biblio-zebra-indexdefs.xsl Sponsored-by: Universidad Nacional de Cordoba --- .../unimarc/biblios/biblio-koha-indexdefs.xml | 56 ++++++++ .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 158 ++++++++++++++++++++- 2 files changed, 212 insertions(+), 2 deletions(-) diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml index aeeacc5..d0f7e46 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml @@ -1429,4 +1429,60 @@ totalissues:n totalissues:s + + + se:0 + + + su-ut:0 + + + su-ut:0 + + + su-ut:0 + + + su-to:0 + + + su-to:0 + + + su-to:0 + + + su-to:0 + + + su-to:0 + + + su-to:0 + + + su-geo:0 + + + su-to:0 + + + au:0 + + + au:0 + + + au:0 + + + homebranch:0 + + + holdingbranch:0 + + + location:0 + + 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 46f106d..b00538c 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/unimarc/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) + @@ -436,8 +438,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - - @@ -2500,6 +2500,160 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ::*:: + + + + + + + + + + + ::*:: + + + + + + + + + + + + + + + + + + ::*:: + + + + + + + + + + + + + + + + + + ::*:: + + + + + + + + + + + + + + + + + + + + + + + + + ::*:: + + + + + + + + + + + ::*:: + + + + + + + + + + + ::*:: + + + + + + + + + + + + + + + + + + + + + + + + + + -- 1.9.1