|
Lines 54-90
Link Here
|
| 54 |
[% FOREACH facets_loo IN facets_loop %] |
54 |
[% FOREACH facets_loo IN facets_loop %] |
| 55 |
[% IF facets_loo.facets.size > 0 %] |
55 |
[% IF facets_loo.facets.size > 0 %] |
| 56 |
<li id="[% facets_loo.type_id | html %]"> |
56 |
<li id="[% facets_loo.type_id | html %]"> |
| 57 |
[% SWITCH facets_loo.label %] |
57 |
[% SWITCH facets_loo.label %] |
| 58 |
[% CASE 'Authors' %] |
58 |
[% CASE 'Authors' %] |
| 59 |
<h3 id="facet-authors">Authors</h3> |
59 |
<h3 id="facet-authors">Authors</h3> |
| 60 |
[% CASE 'Titles' %] |
60 |
[% CASE 'Titles' %] |
| 61 |
<h3 id="facet-titles">Titles</h3> |
61 |
<h3 id="facet-titles">Titles</h3> |
| 62 |
[% CASE 'Topics' %] |
62 |
[% CASE 'Topics' %] |
| 63 |
<h3 id="facet-topics">Topics</h3> |
63 |
<h3 id="facet-topics">Topics</h3> |
| 64 |
[% CASE 'Places' %] |
64 |
[% CASE 'Places' %] |
| 65 |
<h3 id="facet-places">Places</h3> |
65 |
<h3 id="facet-places">Places</h3> |
| 66 |
[% CASE 'Series' %] |
66 |
[% CASE 'Series' %] |
| 67 |
<h3 id="facet-series">Series</h3> |
67 |
<h3 id="facet-series">Series</h3> |
| 68 |
[% CASE 'ItemTypes' %] |
68 |
[% CASE 'ItemTypes' %] |
| 69 |
<h3 id="facet-itemtypes">Item types</h3> |
69 |
<h3 id="facet-itemtypes">Item types</h3> |
| 70 |
[% CASE 'Location' %] |
70 |
[% CASE 'homelibrary' %] |
| 71 |
<h3 id="facet-locations">Locations</h3> |
71 |
<h3 id="facet-home-libraries">Home libraries</h3> |
| 72 |
[% CASE 'CollectionCodes' %] |
72 |
[% CASE 'HoldingLibrary' %] |
| 73 |
<h3 id="facet-collections">Collections</h3> |
73 |
<h3 id="facet-holding-libraries">Holding libraries</h3> |
| 74 |
[% CASE 'Languages' %] |
74 |
[% CASE 'Location' %] |
| 75 |
<h3 id="facet-languages">Languages</h3> |
75 |
<h3 id="facet-locations">Locations</h3> |
| 76 |
[% CASE %] |
76 |
[% CASE 'CollectionCodes' %] |
| 77 |
<h3 id="facet-[% facets_loo.type_link_value | html %]">[% facets_loo.label | html %]</h3> |
77 |
<h3 id="facet-collections">Collections</h3> |
| 78 |
[% END %] |
78 |
[% CASE 'Languages' %] |
| 79 |
|
79 |
<h3 id="facet-languages">Languages</h3> |
| 80 |
[% UNLESS singleBranchMode %] |
80 |
[% CASE %] |
| 81 |
[% IF ( facets_loo.label == HomeLibrary ) %] |
81 |
<h3 id="facet-[% facets_loo.type_link_value | html %]">[% facets_loo.label | html %]</h3> |
| 82 |
<h3 id="facet-home-libraries">Home libraries</h3> |
|
|
| 83 |
[% END %] |
82 |
[% END %] |
| 84 |
[% IF ( facets_loo.label == 'HoldingLibrary' ) %] |
|
|
| 85 |
<h3 id="facet-holding-libraries">Holding libraries</h3> |
| 86 |
[% END %] |
| 87 |
[% END %] |
| 88 |
<ul> |
83 |
<ul> |
| 89 |
[% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi _ limit_cgi %] |
84 |
[% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi _ limit_cgi %] |
| 90 |
[% IF ( sort_by ) %] |
85 |
[% IF ( sort_by ) %] |
| 91 |
- |
|
|