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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc (-1 / +1 lines)
Lines 62-68 Link Here
62
      [% IF facet.active %]
62
      [% IF facet.active %]
63
        [% local_url = BLOCK %][% url | $raw %][% "&nolimit=" _  facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %]
63
        [% local_url = BLOCK %][% url | $raw %][% "&nolimit=" _  facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %]
64
        <span class="facet-label">[% facet.facet_label_value | html %]</span>
64
        <span class="facet-label">[% facet.facet_label_value | html %]</span>
65
        [<a href="[% local_url | $raw %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
65
        [<a href="[% local_url | $raw %]" title="Remove facet [% facet.facet_label_value | html %]">x</a>]
66
      [% ELSE %]
66
      [% ELSE %]
67
        [% local_url = BLOCK %][% url | $raw %][% "&limit=" _  facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %]
67
        [% local_url = BLOCK %][% url | $raw %][% "&limit=" _  facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %]
68
        <span class="facet-label"><a href="[% local_url | $raw %]" title="[% facet.facet_title_value | html %]">[% facet.facet_label_value | html %]</a></span>
68
        <span class="facet-label"><a href="[% local_url | $raw %]" title="[% facet.facet_title_value | html %]">[% facet.facet_label_value | html %]</a></span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-2 / +1 lines)
Lines 73-79 Link Here
73
                                    [% IF ( displayFacetCount ) %]
73
                                    [% IF ( displayFacetCount ) %]
74
                                      <span class="facet-count-selected">([% facet.facet_count | html %])</span>
74
                                      <span class="facet-count-selected">([% facet.facet_count | html %])</span>
75
                                    [% END %]
75
                                    [% END %]
76
                                    [<a href="[% local_url | $raw %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
76
                                    [<a href="[% local_url | $raw %]" title="Remove facet [% facet.facet_label_value | html %]">x</a>]
77
                                  [% ELSE %]
77
                                  [% ELSE %]
78
                                    [% local_url = BLOCK %][% url | $raw %][% "&limit=" _  facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %]
78
                                    [% local_url = BLOCK %][% url | $raw %][% "&limit=" _  facet.type_link_value _ ":" _ facet.facet_link_value | url %][% END %]
79
                                    <span class="facet-label"><a href="[% local_url | $raw %]" title="[% facet.facet_title_value | html %]">[% facet.facet_label_value | html %]</a></span>
79
                                    <span class="facet-label"><a href="[% local_url | $raw %]" title="[% facet.facet_title_value | html %]">[% facet.facet_label_value | html %]</a></span>
80
- 

Return to bug 33140