]> git.koha-community.org Git - koha.git/commit
Bug 11277: fix errors with search facet links in Bootstrap theme
authorFrédéric Demians <f.demians@tamil.fr>
Tue, 26 Nov 2013 09:16:41 +0000 (10:16 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 27 Jan 2014 11:19:32 +0000 (12:19 +0100)
commit227cb1570f9b08bd2e3903cca54ecc5570be5d6d
tree91b13e8098de36283ae63b2286304e02be458356
parent18559b8019a0485878632b1c82d7653e4449eebd
Bug 11277: fix errors with search facet links in Bootstrap theme

This patch fixes the following rwo errors:

  1. When selecting 'show more' above a facet, the advanced search page
     is displayed.
  2. When restricting search on a library facet, all the biblio records
     of this library are returned.

The patch fixes the way URL are encoded with TT filter. See:

http://search.cpan.org/~abw/Template-Toolkit-2.25/lib/Template/Manual/Filters.pod#url

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch works nicely. Tests done:
- 'More' link on facets redirects to advanced search before applying
  the patch. After appyling the link works correctly.
- In my tests, the facet links themselves worked nicely, limiting the
  search as expected.
- Availability search works ok for me with patch applied.
- Also made sure to click on some links containing diacritcts (German
  umlauts).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 4e64ea8870cca3715f838ae3b577cb05da2f7879)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc