Bug 8252: (follow-up) standardize name of Identifier-publisher-for-music index
authorGalen Charlton <gmc@esilibrary.com>
Thu, 10 Oct 2013 16:05:33 +0000 (16:05 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 10 Oct 2013 16:05:33 +0000 (16:05 +0000)
To test:

[1] When running t/db_dependent/Search.t, veify that no warnings like
    this are shown:

15:52:07-10/10 zebraidx(2006) [warn] Index 'Number-music-publisher' not found in attset(s)

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
etc/zebradb/marc_defs/marc21/biblios/record.abs
etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml
etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl
etc/zebradb/marc_defs/normarc/biblios/record.abs

index 14443d6..731b8ad 100644 (file)
     <target_index>Report-number:w</target_index>
     <target_index>Identifier-standard:w</target_index>
   </index_data_field>
-  <!--record.abs line 63: melm 028        Number-music-publisher,Identifier-standard-->
+  <!--record.abs line 63: melm 028        Identifier-publisher-for-music,Identifier-standard-->
   <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="028">
-    <target_index>Number-music-publisher:w</target_index>
+    <target_index>Identifier-publisher-for-music:w</target_index>
     <target_index>Identifier-standard:w</target_index>
   </index_data_field>
   <!--record.abs line 64: melm 030        CODEN,Identifier-standard-->
index 26858e8..f8564ed 100644 (file)
@@ -1466,7 +1466,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
     </z:index>
   </xslo:template>
   <xslo:template mode="index_data_field" match="marc:datafield[@tag='028']">
-    <z:index name="Number-music-publisher:w Identifier-standard:w">
+    <z:index name="Identifier-publisher-for-music:w Identifier-standard:w">
       <xslo:variable name="raw_heading">
         <xslo:for-each select="marc:subfield">
           <xslo:if test="position() &gt; 1">
index 5ff08f4..e17adb0 100644 (file)
@@ -68,7 +68,7 @@ melm 024$a      Identifier-other
 melm 024        Identifier-standard
 melm 025        Identifier-standard
 melm 027        Report-number,Identifier-standard
-melm 028        Number-music-publisher,Identifier-standard
+melm 028        Identifier-publisher-for-music,Identifier-standard
 melm 030        CODEN,Identifier-standard
 #melm 033       Date
 melm 034        Map-scale
index c8ac5d0..0656a76 100644 (file)
     <target_index>Report-number:w</target_index>
     <target_index>Identifier-standard:w</target_index>
   </index_data_field>
-  <!--record.abs line 89: melm 028        Number-music-publisher,Identifier-standard-->
+  <!--record.abs line 89: melm 028        Identifier-publisher-for-music,Identifier-standard-->
   <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="028">
-    <target_index>Number-music-publisher:w</target_index>
+    <target_index>Identifier-publisher-for-music:w</target_index>
     <target_index>Identifier-standard:w</target_index>
   </index_data_field>
   <!--record.abs line 90: melm 030        CODEN,Identifier-standard-->
index f14068f..0ae06c4 100644 (file)
@@ -1124,7 +1124,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
     </z:index>
   </xslo:template>
   <xslo:template mode="index_data_field" match="marc:datafield[@tag='028']">
-    <z:index name="Number-music-publisher:w Identifier-standard:w">
+    <z:index name="Identifier-publisher-for-music:w Identifier-standard:w">
       <xslo:variable name="raw_heading">
         <xslo:for-each select="marc:subfield">
           <xslo:if test="position() &gt; 1">
index 237f434..76ec04f 100644 (file)
@@ -86,7 +86,7 @@ melm 022        ISSN,Identifier-standard
 melm 024        Identifier-standard
 melm 025        Identifier-standard
 melm 027        Report-number,Identifier-standard
-melm 028        Number-music-publisher,Identifier-standard
+melm 028        Identifier-publisher-for-music,Identifier-standard
 melm 030        CODEN,Identifier-standard
 #melm 033       Date
 # NiN melm 034        Map-scale