Lines 6-18
Link Here
|
6 |
<div id="search-facets"> |
6 |
<div id="search-facets"> |
7 |
<h4>Refine your search</h4> |
7 |
<h4>Refine your search</h4> |
8 |
<ul> |
8 |
<ul> |
9 |
<li id="availability_facet">Availability<ul><li>[% IF ( available ) %]<strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi_not_availablity | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]">Show all items</a>[% ELSE %]<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=available">Limit to currently available items</a>[% END %]</li></ul> |
9 |
<li id="availability_facet"> |
10 |
[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])</li>[% END %] |
10 |
<span id="facet-availability">Availability</span> |
11 |
</li> |
11 |
<ul> |
|
|
12 |
[% IF ( available ) %] |
13 |
<li><strong>Showing only available items</strong></li> |
14 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi_not_availablity | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]">Show all items</a></li> |
15 |
[% ELSE %] |
16 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=available">Limit to currently available items</a></li> |
17 |
[% END %] |
18 |
</ul> |
19 |
</li> |
20 |
[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])</li>[% END %] |
12 |
|
21 |
|
13 |
[% FOREACH facets_loo IN facets_loop %] |
22 |
[% FOREACH facets_loo IN facets_loop %] |
14 |
[% IF facets_loo.facets.size > 0 %] |
23 |
[% IF facets_loo.facets.size > 0 %] |
15 |
<li id="[% facets_loo.type_id | html %]"> |
24 |
<li id="[% facets_loo.type_id | html %]"> |
16 |
[% facets_loo.type_label | html %] |
25 |
[% facets_loo.type_label | html %] |
17 |
[% IF facets_loo.type_label_Authors %]<span id="facet-authors">Authors</span>[% END %] |
26 |
[% IF facets_loo.type_label_Authors %]<span id="facet-authors">Authors</span>[% END %] |
18 |
[% IF facets_loo.type_label_Titles %]<span id="facet-titles">Titles</span>[% END %] |
27 |
[% IF facets_loo.type_label_Titles %]<span id="facet-titles">Titles</span>[% END %] |
19 |
- |
|
|