Lines 21-30
Link Here
|
21 |
<span class="filter_label"><a href="[% base_url _ '&limit=search_filter:' _ search_filter_id | $raw %]">[% search_filter.name | html %]</a></span> |
21 |
<span class="filter_label"><a href="[% base_url _ '&limit=search_filter:' _ search_filter_id | $raw %]">[% search_filter.name | html %]</a></span> |
22 |
[% END %] |
22 |
[% END %] |
23 |
</li> |
23 |
</li> |
24 |
[% END %] |
24 |
[% END # /FOREACH search_filter %] |
25 |
</ul> |
25 |
</ul> |
26 |
</li> |
26 |
</li> |
27 |
[% END %] |
27 |
[% END # /IF SavedSearchFilters %] |
28 |
<li id="availability_facet"> |
28 |
<li id="availability_facet"> |
29 |
Availability |
29 |
Availability |
30 |
<ul> |
30 |
<ul> |
Lines 35-41
Link Here
|
35 |
<li> |
35 |
<li> |
36 |
<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 records</a> |
36 |
<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 records</a> |
37 |
[% ELSE %] |
37 |
[% ELSE %] |
38 |
<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 records with available items</a>[% END %] |
38 |
<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 records with available items</a> |
|
|
39 |
[% END # /IF available %] |
39 |
</li> |
40 |
</li> |
40 |
</ul> |
41 |
</ul> |
41 |
[% IF ( related ) %] |
42 |
[% IF ( related ) %] |
Lines 43-49
Link Here
|
43 |
(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %]) |
44 |
(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %]) |
44 |
</li> |
45 |
</li> |
45 |
[% END %] |
46 |
[% END %] |
46 |
</li> |
47 |
</li> <!-- /#availability_facet --> |
47 |
|
48 |
|
48 |
[% FOREACH facets_loo IN facets_loop %] |
49 |
[% FOREACH facets_loo IN facets_loop %] |
49 |
[% IF facets_loo.facets.size > 0 %] |
50 |
[% IF facets_loo.facets.size > 0 %] |
Lines 112-120
Link Here
|
112 |
[% IF ( displayFacetCount ) %] |
113 |
[% IF ( displayFacetCount ) %] |
113 |
<span class="facet-count"> ([% facet.facet_count | html %])</span> |
114 |
<span class="facet-count"> ([% facet.facet_count | html %])</span> |
114 |
[% END %] |
115 |
[% END %] |
115 |
[% END %] |
116 |
[% END # /IF facet.active %] |
116 |
</li> |
117 |
</li> |
117 |
[% END %] |
118 |
[% END # /FOREACH facet %] |
118 |
[% IF facets_loo.facets.size > 5 %] |
119 |
[% IF facets_loo.facets.size > 5 %] |
119 |
<li class="moretoggle"> |
120 |
<li class="moretoggle"> |
120 |
<a href="#"><strong>Show more</strong></a> |
121 |
<a href="#"><strong>Show more</strong></a> |
Lines 125-133
Link Here
|
125 |
[% END %] |
126 |
[% END %] |
126 |
</ul> |
127 |
</ul> |
127 |
</li> |
128 |
</li> |
128 |
[% END %] |
129 |
[% END # /IF facets_loo.facets.size %] |
129 |
[% END %] |
130 |
[% END # /FOREACH facets_loo %] |
130 |
</ul> |
131 |
</ul> |
131 |
</div> |
132 |
</div> <!-- /#search-facets --> |
132 |
[% END %] |
133 |
[% END # /IF ( facets_loop ) %] |
133 |
[% END %] |
134 |
[% END # /IF ( opacfacets ) %] |
134 |
- |
|
|