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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc (+2 lines)
Lines 1-3 Link Here
1
[% USE AuthorisedValues %]
1
[% IF ( opacfacets ) %]
2
[% IF ( opacfacets ) %]
2
[% IF ( facets_loop ) %]
3
[% IF ( facets_loop ) %]
3
<div id="search-facets">
4
<div id="search-facets">
Lines 27-32 Link Here
27
    [% url = BLOCK %][% url %][% "&amp;sort_by=" _ sort_by |url %][% END %]
28
    [% url = BLOCK %][% url %][% "&amp;sort_by=" _ sort_by |url %][% END %]
28
  [% END %]
29
  [% END %]
29
  [% FOREACH facet IN facets_loo.facets %]
30
  [% FOREACH facet IN facets_loo.facets %]
31
  [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,0) || facet.facet_label_value %][% END %]
30
    <li>
32
    <li>
31
      [% IF facet.active %]
33
      [% IF facet.active %]
32
        [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
34
        [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE AuthorisedValues %]
1
[% IF ( opacfacets && facets_loop && total ) %]
2
[% IF ( opacfacets && facets_loop && total ) %]
2
    <div id="search-facets">
3
    <div id="search-facets">
3
        <h4><a href="#" class="menu-collapse-toggle">Refine your search</a></h4>
4
        <h4><a href="#" class="menu-collapse-toggle">Refine your search</a></h4>
Lines 36-41 Link Here
36
                              [% url = BLOCK %][% url %][% "&amp;sort_by=" _ sort_by |url %][% END %]
37
                              [% url = BLOCK %][% url %][% "&amp;sort_by=" _ sort_by |url %][% END %]
37
                            [% END %]
38
                            [% END %]
38
                            [% FOREACH facet IN facets_loo.facets %]
39
                            [% FOREACH facet IN facets_loo.facets %]
40
                            [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,1) || facet.facet_label_value %][% END %]
39
                                <li>
41
                                <li>
40
                                  [% IF facet.active %]
42
                                  [% IF facet.active %]
41
                                    [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
43
                                    [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
42
- 

Return to bug 17169