]> 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 Cormack <chrisc@catalyst.net.nz>
Sat, 4 Jun 2011 07:44:49 +0000 (19:44 +1200)
commita53ae578b428a3cddd2802a972ee048b479a44aa
tree58785a8e355d631bd50bcc182069f95c7ae64eef
parent5ae3a3aa4f79f457605e03f53a4b385212d9d93e
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>
koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt