From a3db68f9af9f96ebee20228413603d808d6049e3 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sun, 17 Apr 2011 18:09:07 -0400 Subject: [PATCH] Bug 3072: Add Heading-Main and Any to MARC21 DOM The Heading-Main and Any indexes were not defined in the MARC21 authority DOM rules, but was enabled by the fix for bug 5924. This patch adds the Heading-Main and Any indexes to the MARC21 DOM authority configuration. This is a revised patch, with the authority-zebra-indexdefs.xsl automatically generated from authority-koha-indexdefs.xml. Note that Any is added by koha-indexdefs-to-zebra.xsl rather than in the authority-koha-indexdefs.xml file. NOTE: This patch modifies the following files, which you will need to manually update if you are using a dev install: etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl You will also need to reindex your authorities for the changes in this patch to take effect. Signed-off-by: Jared Camins-Esakov Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack Signed-off-by: Galen Charlton (cherry picked from commit 79deeddc2ad6f09fddd7e200830b1a74a03374bc) Signed-off-by: Chris Nighswonger --- .../authorities/authority-koha-indexdefs.xml | 42 ++++- .../authorities/authority-zebra-indexdefs.xsl | 165 ++++++++++++++++++ .../authorities/koha-indexdefs-to-zebra.xsl | 5 + 3 files changed, 211 insertions(+), 1 deletion(-) diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml index 7b59be31ee..87d31bce36 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml @@ -59,11 +59,16 @@ authority-zebra-indexdefs.xsl` Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s - + Personal-name-see-from:w Personal-name-see-from:p @@ -99,6 +104,11 @@ authority-zebra-indexdefs.xsl` Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -139,6 +149,11 @@ authority-zebra-indexdefs.xsl` Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -179,6 +194,11 @@ authority-zebra-indexdefs.xsl` Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -219,6 +239,11 @@ authority-zebra-indexdefs.xsl` Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -260,6 +285,11 @@ authority-zebra-indexdefs.xsl` Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -300,6 +330,11 @@ authority-zebra-indexdefs.xsl` Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -340,6 +375,11 @@ authority-zebra-indexdefs.xsl` Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl index 23989fc375..5c37bc6dbe 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl @@ -169,6 +169,26 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + + + + -- + + + + + + + + + + + + @@ -235,6 +255,26 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + + + + -- + + + + + + + + + + + + @@ -301,6 +341,26 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + + + + -- + + + + + + + + + + + + @@ -367,6 +427,26 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + + + + -- + + + + + + + + + + + + @@ -433,6 +513,26 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + + + + -- + + + + + + + + + + + + @@ -499,6 +599,26 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + + + + -- + + + + + + + + + + + + @@ -565,6 +685,26 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + + + + -- + + + + + + + + + + + + @@ -631,6 +771,26 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + + + + -- + + + + + + + + + + + + @@ -1834,4 +1994,9 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + diff --git a/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl b/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl index edaa9d4328..66bf816ec2 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl +++ b/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl @@ -62,6 +62,11 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + + + + + -- 2.39.5