idx => 'location',
label => 'Location',
tags => [ qw/ 995e / ],
+ },
+ {
+ idx => 'ccode',
+ label => 'CollectionCodes',
+ tags => [ qw / 099t 955h / ],
}
];
label => 'Location',
tags => [ qw / 952c / ],
},
+ {
+ idx => 'ccode',
+ label => 'CollectionCodes',
+ tags => [ qw / 9528 / ],
+ }
];
unless ( Koha::Libraries->search->count == 1 )
<facet tag="952" subfields="y">
<target_index>itype:0</target_index>
</facet>
+ <facet tag="952" subfields="8">
+ <target_index>ccode:0</target_index>
+ </facet>
</kohaidx:index_defs>
<facet tag="952" subfields="y">
<target_index>itype:0</target_index>
</facet>
+ <facet tag="952" subfields="8">
+ <target_index>ccode:0</target_index>
+ </facet>
</kohaidx:index_defs>
<target_index>totalissues:n</target_index>
<target_index>totalissues:s</target_index>
</index_subfields>
-
<index_subfields tag="999" subfields="x">
<target_index>not-onloan-count:n</target_index>
</index_subfields>
-
+ <facet tag="099" subfields="t">
+ <target_index>ccode:0</target_index>
+ </facet>
<facet tag="225" subfields="a">
<target_index>se:0</target_index>
</facet>
<facet tag="995" subfields="e">
<target_index>location:0</target_index>
</facet>
+ <facet tag="995" subfields="h">
+ <target_index>ccode:0</target_index>
+ </facet>
</kohaidx:index_defs>
[% IF ( facets_loo.type_label_HomeLibrary ) %]<span id="facet-home-libraries">Home libraries</span>[% END %]
[% IF ( facets_loo.type_label_HoldingLibrary ) %]<span id="facet-holding-libraries">Holding libraries</span>[% END %]
[% IF facets_loo.type_label_Location %]<span id="facet-locations">Locations</span>[% END %]
-[% IF facets_loo.type_label_CollectionCodes %]<span id="facet-locations">Collections</span>[% END %]
+[% IF facets_loo.type_label_CollectionCodes %]<span id="facet-collections">Collections</span>[% END %]
<ul>
[% SET url = "/cgi-bin/koha/catalogue/search.pl?" _ query_cgi _ limit_cgi %]
[% IF ( sort_by ) %]
[% IF facets_loo.type_label_Places %]<h5 id="facet-places">Places</h5>[% END %]
[% IF facets_loo.type_label_Series %]<h5 id="facet-series">Series</h5>[% END %]
[% IF facets_loo.type_label_ItemTypes %]<h5 id="facet-itemtypes">Item types</h5>[% END %]
- [% IF facets_loo.type_label_CollectionCodes %]<h5 id="facet-itemtypes">Collections</h5>[% END %]
+ [% IF facets_loo.type_label_CollectionCodes %]<h5 id="facet-collections">Collections</h5>[% END %]
[% UNLESS singleBranchMode %]
[% IF ( facets_loo.type_label_HomeLibrary ) %]<h5 id="facet-home-libraries">Home libraries</h5>[% END %]
[% IF ( facets_loo.type_label_HoldingLibrary ) %]<h5 id="facet-holding-libraries">Holding libraries</h5>[% END %]