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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc (-1 / +1 lines)
Lines 64-70 Link Here
64
                                <span id="facet-series">Series</span>
64
                                <span id="facet-series">Series</span>
65
                            [% CASE 'ItemTypes' %]
65
                            [% CASE 'ItemTypes' %]
66
                                <span id="facet-itemtypes">Item types</span>
66
                                <span id="facet-itemtypes">Item types</span>
67
                            [% CASE 'HomeLibrary' %]
67
                            [% CASE 'homelibrary' %]
68
                                <span id="facet-home-libraries">Home libraries</span>
68
                                <span id="facet-home-libraries">Home libraries</span>
69
                            [% CASE 'HoldingLibrary' %]
69
                            [% CASE 'HoldingLibrary' %]
70
                                <span id="facet-holding-libraries">Holding libraries</span>
70
                                <span id="facet-holding-libraries">Holding libraries</span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-14 / +26 lines)
Lines 54-72 Link Here
54
            [% FOREACH facets_loo IN facets_loop %]
54
            [% FOREACH facets_loo IN facets_loop %]
55
                [% IF facets_loo.facets.size > 0 %]
55
                [% IF facets_loo.facets.size > 0 %]
56
                    <li id="[% facets_loo.type_id | html %]">
56
                    <li id="[% facets_loo.type_id | html %]">
57
                        [% IF facets_loo.type_label_Authors %]<h3 id="facet-authors">Authors</h3>[% END %]
57
                            [% SWITCH facets_loo.label %]
58
                        [% IF facets_loo.type_label_Titles %]<h3 id="facet-titles">Titles</h3>[% END %]
58
                            [% CASE 'Authors' %]
59
                        [% IF facets_loo.type_label_Topics %]<h3 id="facet-topics">Topics</h3>[% END %]
59
                                <h3 id="facet-authors">Authors</h3>
60
                        [% IF facets_loo.type_label_Places %]<h3 id="facet-places">Places</h3>[% END %]
60
                            [% CASE 'Titles' %]
61
                        [% IF facets_loo.type_label_Series %]<h3 id="facet-series">Series</h3>[% END %]
61
                                <h3 id="facet-titles">Titles</h3>
62
                        [% IF facets_loo.type_label_ItemTypes %]<h3 id="facet-itemtypes">Item types</h3>[% END %]
62
                            [% CASE 'Topics' %]
63
                        [% IF facets_loo.type_label_CollectionCodes %]<h3 id="facet-collections">Collections</h3>[% END %]
63
                                <h3 id="facet-topics">Topics</h3>
64
                        [% IF facets_loo.type_label_Language %]<h3 id="facet-languages">Languages</h3>[% END %]
64
                            [% CASE 'Places' %]
65
                        [% UNLESS singleBranchMode %]
65
                                <h3 id="facet-places">Places</h3>
66
                            [% IF ( facets_loo.type_label_HomeLibrary ) %]<h3 id="facet-home-libraries">Home libraries</h3>[% END %]
66
                            [% CASE 'Series' %]
67
                            [% IF ( facets_loo.type_label_HoldingLibrary ) %]<h3 id="facet-holding-libraries">Holding libraries</h3>[% END %]
67
                                <h3 id="facet-series">Series</h3>
68
                        [% END %]
68
                            [% CASE 'ItemTypes' %]
69
                        [% IF facets_loo.type_label_Location %]<h3 id="facet-locations">Locations</h3>[% END %]
69
                                <h3 id="facet-itemtypes">Item types</h3>
70
                            [% CASE 'homelibrary' %]
71
                                <h3 id="facet-home-libraries">Home libraries</h3>
72
                            [% CASE 'HoldingLibrary' %]
73
                                <h3 id="facet-holding-libraries">Holding libraries</h3>
74
                            [% CASE 'Location' %]
75
                                <h3 id="facet-locations">Locations</h3>
76
                            [% CASE 'CollectionCodes' %]
77
                                <h3 id="facet-collections">Collections</h3>
78
                            [% CASE 'Languages' %]
79
                                <h3 id="facet-languages">Languages</h3>
80
                            [% CASE %]
81
                                <h3 id="facet-[% facets_loo.type_link_value | html %]">[% facets_loo.label | html %]</h3>
82
                            [% END %]
70
                        <ul>
83
                        <ul>
71
                            [% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi _ limit_cgi %]
84
                            [% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi _ limit_cgi %]
72
                            [% IF ( sort_by ) %]
85
                            [% IF ( sort_by ) %]
73
- 

Return to bug 36750