[% USE AuthorisedValues %]
[% IF ( opacfacets ) %]
[% IF ( facets_loop ) %]
Refine your search
- Availability
[% IF ( related ) %]
- (related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])
[% END %]
[% FOREACH facets_loo IN facets_loop %]
[% IF facets_loo.facets.size > 0 %]
-
[% facets_loo.type_label | html %]
[% IF facets_loo.type_label_Authors %]Authors[% END %]
[% IF facets_loo.type_label_Titles %]Titles[% END %]
[% IF facets_loo.type_label_Topics %]Topics[% END %]
[% IF facets_loo.type_label_Places %]Places[% END %]
[% IF facets_loo.type_label_Series %]Series[% END %]
[% IF facets_loo.type_label_ItemTypes %]Item types[% END %]
[% IF ( facets_loo.type_label_HomeLibrary ) %]Home libraries[% END %]
[% IF ( facets_loo.type_label_HoldingLibrary ) %]Holding libraries[% END %]
[% IF facets_loo.type_label_Location %]Locations[% END %]
[% IF facets_loo.type_label_CollectionCodes %]Collections[% END %]
[% SET url = "/cgi-bin/koha/catalogue/search.pl?" _ query_cgi _ limit_cgi %]
[% IF ( sort_by ) %]
[% url = BLOCK %][% url | html %][% "&sort_by=" _ sort_by |url %][% END %]
[% END %]
[% FOREACH facet IN facets_loo.facets %]
[% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,0) || facet.facet_label_value %][% END %]
-
[% IF facet.active %]
[% SET local_url = url _ "&nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
[% facet.facet_label_value | html %]
[x]
[% ELSE %]
[% SET local_url = url _ "&limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
[% facet.facet_label_value | html %]
[% IF ( displayFacetCount ) %]
([% facet.facet_count | html %])
[% END %]
[% END %]
[% END %]
[% IF ( facets_loo.expandable ) %]
-
Show more
[% END %]
[% END %]
[% END %]
[% END %]
[% END %]