]> git.koha-community.org Git - koha.git/commit
Fix for Bug 5714 - Unescaped ampersands in OPAC facets
authorOwen Leonard <oleonard@myacpl.org>
Fri, 27 May 2011 12:54:06 +0000 (08:54 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 14 Jun 2011 00:45:17 +0000 (20:45 -0400)
commit5f6391882deb84dbad922ee82d53b7405c0dbb4a
treef79e5a6e5877d229b9ea422108fa39750dcb0ddd
parente0c63614576da57a54ed2db1c5265cfa6f95a547
Fix for Bug 5714 - Unescaped ampersands in OPAC facets

In the OPAC the "query_cgi" variable passed to the template
outputs a string like this:

idx=kw&q=thing

The ampersand is unescaped. Adding an "|html" filter to
the variable. Also correcting some TT markup which
added a new validation error (an unopened <div>).

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a53ae578b428a3cddd2802a972ee048b479a44aa)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt