From dc1140f3795b99aefe015e178e823aaa687cf1e2 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 Signed-off-by: David Cook Seems to work with DOM and MARC21. Signed-off-by: Jonathan Druart --- .../unimarc/biblios/biblio-koha-indexdefs.xml | 59 +++++++- .../unimarc/biblios/biblio-zebra-indexdefs.xsl | 152 ++++++++++++++++++++- 2 files changed, 207 insertions(+), 4 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..9cd5b34 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml @@ -1,5 +1,6 @@ - + marc:controlfield[@tag='001'] @@ -1429,4 +1430,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..823cdda 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) + @@ -27,7 +28,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,152 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <*> + + + + + + + + + + + <*> + + + + + + + + + + + + + + + + + + <*> + + + + + + + + + + + + + + + + + + <*> + + + + + + + + + + + + + + + + + + + + + + + + + <*> + + + + + + + + + + + <*> + + + + + + + + + + + <*> + + + + + + + + + + + + + + + + + + -- 2.1.0