Bug 23053: [follow-up] Same changes for UNIMARC
authorNick Clemens <nick@bywatersolutions.com>
Wed, 12 Jun 2019 12:39:29 +0000 (12:39 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 13 Jun 2019 13:38:04 +0000 (14:38 +0100)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml
etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl

index 2695c94..00b4e0b 100644 (file)
@@ -10,6 +10,7 @@ authority-zebra-indexdefs.xsl`
   <!-- Original record ID -->
   <kohaidx:index_control_field tag="001">
     <kohaidx:target_index>Local-Number:w</kohaidx:target_index>
+    <kohaidx:target_index>Local-Number:p</kohaidx:target_index>
     <kohaidx:target_index>Local-Number:s</kohaidx:target_index>
     <kohaidx:target_index>Local-Number:n</kohaidx:target_index>
   </kohaidx:index_control_field>
index df20a49..e7fb18c 100644 (file)
@@ -45,7 +45,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
     </z:record>
   </xslo:template>
   <xslo:template match="marc:controlfield[@tag='001']">
-    <z:index name="Local-Number:w Local-Number:s Local-Number:n">
+    <z:index name="Local-Number:w Local-Number:s Local-Number:n Local-Number:p">
       <xslo:value-of select="."/>
     </z:index>
   </xslo:template>