View | Details | Raw Unified | Return to bug 11277
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-6 / +5 lines)
Lines 6-14 Link Here
6
                <ul>
6
                <ul>
7
                    <li>
7
                    <li>
8
                        [% IF ( available ) %]
8
                        [% IF ( available ) %]
9
                            Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |uri %][% END %]">Show all items</a>
9
                            Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Show all items</a>
10
                        [% ELSE %]
10
                        [% ELSE %]
11
                            <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |uri %][% END %]&amp;limit=available">Limit to currently available items.</a>
11
                            <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi |url %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]&amp;limit=available">Limit to currently available items.</a>
12
                        [% END %]
12
                        [% END %]
13
                    </li>
13
                    </li>
14
                </ul>
14
                </ul>
Lines 31-37 Link Here
31
                        <ul>
31
                        <ul>
32
                            [% FOREACH facet IN facets_loo.facets %]
32
                            [% FOREACH facet IN facets_loo.facets %]
33
                                <li>
33
                                <li>
34
                                    <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |uri %][% END %]&amp;limit=[% facet.type_link_value |uri %]:[% facet.facet_link_value |uri %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a>
34
                                    <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi |url %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]&amp;limit=[% facet.type_link_value |url %]:[% facet.facet_link_value |url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a>
35
                                    [% IF ( displayFacetCount ) %]
35
                                    [% IF ( displayFacetCount ) %]
36
                                        ([% facet.facet_count %])
36
                                        ([% facet.facet_count %])
37
                                    [% END %]
37
                                    [% END %]
Lines 39-46 Link Here
39
                            [% END %]
39
                            [% END %]
40
                            [% IF ( facets_loo.expandable ) %]
40
                            [% IF ( facets_loo.expandable ) %]
41
                                <li class="showmore">
41
                                <li class="showmore">
42
                                    <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |uri %][% END %][% IF ( offset ) %]
42
                                    <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi |url %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %][% IF ( offset ) %]
43
                                            &amp;offset=[% offset |uri %][% END %]&amp;expand=[% facets_loo.expand |uri %]#[% facets_loo.type_id |uri %]">Show more</a>
43
                                            &amp;offset=[% offset |url %][% END %]&amp;expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">Show more</a>
44
                                </li>
44
                                </li>
45
                            [% END %]
45
                            [% END %]
46
                        </ul>
46
                        </ul>
47
- 

Return to bug 11277