Bug 13157: UNIMARC holdingbranch facet is 995$c not 995$b
authorFrédéric Demians <f.demians@tamil.fr>
Sun, 2 Nov 2014 17:10:03 +0000 (18:10 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 25 Nov 2014 18:27:05 +0000 (15:27 -0300)
Fix a typo. Not test plan required, just a look at default UNIMARC framework.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

C4/Koha.pm
etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml
etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl

index 2e19bc0..2602200 100644 (file)
@@ -785,7 +785,7 @@ sub getFacets {
                         {
                             idx   => 'holdingbranch',
                             label => 'HoldingLibrary',
-                            tags  => [qw / 995b /],
+                            tags  => [qw / 995c /],
                         }
                     );
                 }
index 10dc41e..005e422 100644 (file)
   <facet tag="995" subfields="a">
     <target_index>homebranch:0</target_index>
   </facet>
-  <facet tag="995" subfields="b">
+  <facet tag="995" subfields="c">
     <target_index>holdingbranch:0</target_index>
   </facet>
   <facet tag="995" subfields="e">
index a8cde51..4f7629e 100644 (file)
@@ -2625,7 +2625,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
         <xslo:value-of select="marc:subfield[@code='a']"/>
       </z:index>
       <z:index name="holdingbranch:0">
-        <xslo:value-of select="marc:subfield[@code='b']"/>
+        <xslo:value-of select="marc:subfield[@code='c']"/>
       </z:index>
       <z:index name="location:0">
         <xslo:value-of select="marc:subfield[@code='e']"/>