Bug 13157: (QA followup) homebranch is 995$b on UNIMARC frameworks

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
Tomás Cohen Arazi 2014-11-23 10:36:31 -03:00
parent 9ebb6ba5d1
commit 532b41934c
3 changed files with 3 additions and 3 deletions
C4
etc/zebradb/marc_defs/unimarc/biblios

View file

@ -798,7 +798,7 @@ sub getFacets {
{
idx => 'homebranch',
label => 'HomeLibrary',
tags => [qw / 995a /],
tags => [qw / 995b /],
}
);
}

View file

@ -1465,7 +1465,7 @@
<facet tag="702" subfields="ab">
<target_index>au:0</target_index>
</facet>
<facet tag="995" subfields="a">
<facet tag="995" subfields="b">
<target_index>homebranch:0</target_index>
</facet>
<facet tag="995" subfields="c">

View file

@ -2622,7 +2622,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_facets" match="marc:datafield[@tag='995']">
<xslo:if test="not(@ind1='z')">
<z:index name="homebranch:0">
<xslo:value-of select="marc:subfield[@code='a']"/>
<xslo:value-of select="marc:subfield[@code='b']"/>
</z:index>
<z:index name="holdingbranch:0">
<xslo:value-of select="marc:subfield[@code='c']"/>