Lines 51-88
Link Here
|
51 |
[% IF facets_loo.facets.size > 0 %] |
51 |
[% IF facets_loo.facets.size > 0 %] |
52 |
<li id="[% facets_loo.type_id | html %]"> |
52 |
<li id="[% facets_loo.type_id | html %]"> |
53 |
[% facets_loo.type_label | html %] |
53 |
[% facets_loo.type_label | html %] |
54 |
[% IF facets_loo.type_label_Authors %] |
54 |
[% SWITCH facets_loo.label %] |
|
|
55 |
[% CASE 'Authors' %] |
55 |
<span id="facet-authors">Authors</span> |
56 |
<span id="facet-authors">Authors</span> |
56 |
[% END %] |
57 |
[% CASE 'Titles' %] |
57 |
[% IF facets_loo.type_label_Titles %] |
|
|
58 |
<span id="facet-titles">Titles</span> |
58 |
<span id="facet-titles">Titles</span> |
59 |
[% END %] |
59 |
[% CASE 'Topics' %] |
60 |
[% IF facets_loo.type_label_Topics %] |
|
|
61 |
<span id="facet-topics">Topics</span> |
60 |
<span id="facet-topics">Topics</span> |
62 |
[% END %] |
61 |
[% CASE 'Places' %] |
63 |
[% IF facets_loo.type_label_Places %] |
|
|
64 |
<span id="facet-places">Places</span> |
62 |
<span id="facet-places">Places</span> |
65 |
[% END %] |
63 |
[% CASE 'Series' %] |
66 |
[% IF facets_loo.type_label_Series %] |
|
|
67 |
<span id="facet-series">Series</span> |
64 |
<span id="facet-series">Series</span> |
68 |
[% END %] |
65 |
[% CASE 'ItemTypes' %] |
69 |
[% IF facets_loo.type_label_ItemTypes %] |
|
|
70 |
<span id="facet-itemtypes">Item types</span> |
66 |
<span id="facet-itemtypes">Item types</span> |
71 |
[% END %] |
67 |
[% CASE 'HomeLibrary' %] |
72 |
[% IF ( facets_loo.type_label_HomeLibrary ) %] |
|
|
73 |
<span id="facet-home-libraries">Home libraries</span> |
68 |
<span id="facet-home-libraries">Home libraries</span> |
74 |
[% END %] |
69 |
[% CASE 'HoldingLibrary' %] |
75 |
[% IF ( facets_loo.type_label_HoldingLibrary ) %] |
|
|
76 |
<span id="facet-holding-libraries">Holding libraries</span> |
70 |
<span id="facet-holding-libraries">Holding libraries</span> |
77 |
[% END %] |
71 |
[% CASE 'Location' %] |
78 |
[% IF facets_loo.type_label_Location %] |
|
|
79 |
<span id="facet-locations">Locations</span> |
72 |
<span id="facet-locations">Locations</span> |
80 |
[% END %] |
73 |
[% CASE 'CollectionCodes' %] |
81 |
[% IF facets_loo.type_label_CollectionCodes %] |
|
|
82 |
<span id="facet-collections">Collections</span> |
74 |
<span id="facet-collections">Collections</span> |
83 |
[% END %] |
75 |
[% CASE 'Languages' %] |
84 |
[% IF facets_loo.type_label_Language %] |
|
|
85 |
<span id="facet-languages">Languages</span> |
76 |
<span id="facet-languages">Languages</span> |
|
|
77 |
[% CASE %] |
78 |
<span id="facet-[% facets_loo.type_link_value | html %]">[% facets_loo.label | html %]</span> |
86 |
[% END %] |
79 |
[% END %] |
87 |
<ul> |
80 |
<ul> |
88 |
[% SET url = "/cgi-bin/koha/catalogue/search.pl?" _ query_cgi _ limit_cgi %] |
81 |
[% SET url = "/cgi-bin/koha/catalogue/search.pl?" _ query_cgi _ limit_cgi %] |