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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc (-12 / +11 lines)
Lines 20-29 Link Here
20
                                        <span class="filter_label"><a href="[% base_url _ '&limit=search_filter:' _ search_filter.id | url %]">[% search_filter.name | html %]</a></span>
20
                                        <span class="filter_label"><a href="[% base_url _ '&limit=search_filter:' _ search_filter.id | url %]">[% search_filter.name | html %]</a></span>
21
                                    [% END %]
21
                                    [% END %]
22
                                </li>
22
                                </li>
23
                            [% END %]
23
                            [% END # /FOREACH search_filter %]
24
                        </ul>
24
                        </ul>
25
                    </li>
25
                    </li>
26
                [% END %]
26
                [% END # /IF SavedSearchFilters %]
27
                <li id="availability_facet">
27
                <li id="availability_facet">
28
                    Availability
28
                    Availability
29
                    <ul>
29
                    <ul>
Lines 38-51 Link Here
38
                            <li>
38
                            <li>
39
                                <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]&amp;limit=available">Limit to currently available items</a>
39
                                <a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]&amp;limit=available">Limit to currently available items</a>
40
                            </li>
40
                            </li>
41
                        [% END %]
41
                        [% END # /IF available %]
42
                    </ul>
42
                    </ul>
43
                    [% IF ( related ) %]
43
                    [% IF ( related ) %]
44
                        <li>
44
                        <li>
45
                            (related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])
45
                            (related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])
46
                        </li>
46
                        </li>
47
                    [% END %]
47
                    [% END %]
48
                </li>
48
                </li> <!-- /#availability_facet -->
49
49
50
                [% FOREACH facets_loo IN facets_loop %]
50
                [% FOREACH facets_loo IN facets_loop %]
51
                    [% IF facets_loo.facets.size > 0 %]
51
                    [% IF facets_loo.facets.size > 0 %]
Lines 92-100 Link Here
92
                                            [% IF ( displayFacetCount ) %]
92
                                            [% IF ( displayFacetCount ) %]
93
                                                <span class="facet-count"> ([% facet.facet_count | html %])</span>
93
                                                <span class="facet-count"> ([% facet.facet_count | html %])</span>
94
                                            [% END %]
94
                                            [% END %]
95
                                        [% END %]
95
                                        [% END # /IF facet.active %]
96
                                    </li>
96
                                    </li>
97
                                [% END %]
97
                                [% END # /FOREACH facet %]
98
                                [% IF facets_loo.facets.size > 5 %]
98
                                [% IF facets_loo.facets.size > 5 %]
99
                                    <li class="moretoggle">
99
                                    <li class="moretoggle">
100
                                        <a href="#"><strong>Show more</strong></a>
100
                                        <a href="#"><strong>Show more</strong></a>
Lines 105-113 Link Here
105
                                [% END %]
105
                                [% END %]
106
                            </ul>
106
                            </ul>
107
                        </li>
107
                        </li>
108
                    [% END %]
108
                    [% END # /IF facets_loo.facets.size %]
109
                [% END %]
109
                [% END # /FOREACH facets_loo %]
110
            </ul>
110
            </ul>
111
        </div>
111
        </div> <!-- /#search-facets -->
112
    [% END %]
112
    [% END # /IF ( facets_loop ) %]
113
[% END %]
113
[% END # /IF ( opacfacets ) %]
114
- 

Return to bug 34422