[koha-commits] main Koha release repository branch new/bug_9554 created. v3.12.00-alpha-19-gf694ed6

Git repo owner gitmaster at git.koha-community.org
Wed Mar 20 01:57:40 CET 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, new/bug_9554 has been created
        at  f694ed6ba103986276b71a5460931aedfc5c7228 (commit)

- Log -----------------------------------------------------------------
commit f694ed6ba103986276b71a5460931aedfc5c7228
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: Jared Camins-Esakov <jcamins at cpbibliography.com>

commit 50c444bc7b4591e4e1e76e129ba721650e9a1c31
Merge: 58237b7 ace13fc
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Tue Mar 19 20:56:08 2013 -0400

    Merge branch 'bug_9841' into 3.12-master

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list