[koha-commits] main Koha release repository branch 3.10.x updated. v3.10.04-54-g60ba64a

Git repo owner gitmaster at git.koha-community.org
Wed Apr 3 21:30:10 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.10.x has been updated
       via  60ba64a9e5a1ae29f752016732ec28f3b8514c81 (commit)
      from  1e93f75f42b1503a9e24a53d3b6981f9aa0044f2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 60ba64a9e5a1ae29f752016732ec28f3b8514c81
Author: Fridolyn SOMERS <fridolyn.somers at biblibre.com>
Date:   Mon Feb 4 17:48:58 2013 +0100

    Bug 9554: single quote in didyoumean
    
    When using "url" or "uri" template toolkit filters, I noticed that double quotes are escaped (%22), but not single quotes.
    This causes sometimes a problem when URL is written in JavaScript code, in a string delimited by single quotes.
    
    This patch corrects by using double quotes for js strings.
    Also, adds a test for "didyoumean" feature : when feature is not activated, do not add corresponding javascript.
    
    Test plan :
    - activate OpacHighlightedWords syspref
    - activate "didyoumean" feature for OPAC
    - perform a search begining with a  single quote (ie "'sport")
    => look for javascript errors (you may use firebug)
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

-----------------------------------------------------------------------

Summary of changes:
 .../prog/en/modules/opac-results-grouped.tt        |    2 +-
 .../opac-tmpl/prog/en/modules/opac-results.tt      |   22 +++++++++++--------
 .../opac-tmpl/prog/en/modules/svc/suggestion.tt    |    6 ++--
 3 files changed, 17 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list