Lines 47-52
Link Here
|
47 |
[% END %] |
47 |
[% END %] |
48 |
</li> <!-- /#availability_facet --> |
48 |
</li> <!-- /#availability_facet --> |
49 |
|
49 |
|
|
|
50 |
[% IF Koha.Preference("ShowComponentRecordsFacet") == 'staff' || Koha.Preference("ShowComponentRecordsFacet") == 'both' %] |
51 |
<li id="component_record_facet"> |
52 |
Component records |
53 |
<ul> |
54 |
<li> |
55 |
[% IF ( limit_exclude_component_records ) || ( limit_component_records ) %] |
56 |
<strong>[% IF ( limit_exclude_component_records ) %]Excluding[% ELSE %]Showing only[% END %] component records</strong> |
57 |
</li> |
58 |
<li> |
59 |
<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% IF ( limit_exclude_component_records ) %][% limit_cgi_not_limit_exclude_component_records %][% END %][% IF ( limit_component_records ) %][% limit_cgi_not_limit_component_records %][% END %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]">Show all records</a> |
60 |
[% ELSE %] |
61 |
<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=exclude_component_records">Exclude component records</a> |
62 |
</li> |
63 |
<li> |
64 |
<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&sort_by=[% sort_by | uri %][% END %]&limit=component_records">Show component records</a> |
65 |
[% END # /IF limit_exclude_component_records %] |
66 |
</li> |
67 |
</ul> |
68 |
</li> <!-- /#component_record_facet --> |
69 |
[% END # /IF ShowComponentRecordsFacet %] |
70 |
|
50 |
[% FOREACH facets_loo IN facets_loop %] |
71 |
[% FOREACH facets_loo IN facets_loop %] |
51 |
[% IF facets_loo.facets.size > 0 %] |
72 |
[% IF facets_loo.facets.size > 0 %] |
52 |
<li id="[% facets_loo.type_id | html %]"> |
73 |
<li id="[% facets_loo.type_id | html %]"> |
53 |
- |
|
|