From fc1f90abc1e408b3ff23e4a5210c29719d76fde3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 10 Jan 2014 17:22:47 +0100 Subject: [PATCH] Bug 10857: (follow-up) update Bootstrap theme Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Signed-off-by: Galen Charlton --- .../bootstrap/en/includes/opac-facets.inc | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc index 99d7437290..7044bfd031 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -32,10 +32,24 @@
    [% FOREACH facet IN facets_loo.facets %]
  • - [% facet.facet_label_value %] - [% IF ( displayFacetCount ) %] - ([% facet.facet_count %]) - [% END %] + [% SET query_cgi_f = query_cgi | url %] + [% SET limit_cgi_f = limit_cgi | url %] + [% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi_f _ limit_cgi_f %] + [% IF ( sort_by ) %] + [% SET url = url _ "&sort_by=" _ sort_by |url %] + [% END %] + [% facet.facet_link_value = BLOCK %][% facet.facet_link_value | uri %][% END %] + [% IF facet.active %] + [% SET url = url _ "&nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %] + [% facet.facet_label_value %] + [x] + [% ELSE %] + [% SET url = url _ "&limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %] + [% facet.facet_label_value %] + [% IF ( displayFacetCount ) %] + ([% facet.facet_count %]) + [% END %] + [% END %]
  • [% END %] [% IF ( facets_loo.expandable ) %] -- 2.39.5