[Koha-bugs] [Bug 11515] Encoding problem with OpacBrowseResults

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 10 16:57:28 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11515

--- Comment #13 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 26023
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26023&action=edit
Bug 11515 - Encoding problem with OpacBrowseResults

When OpacBrowseResults syspref is on, the detail page contains a results
browser.
When search terms contains non-ASCII character, the search query is not well
encoded in this browser.

This patch adds the URI-coding to search terms into session to avoid any
encoding problem with diacritics and URI specific characters like ?,& ...
So that TT parameter 'busc' is already URI encoded and can be used to recreate
seach URL.

Test plan :
- Set OpacBrowseResults on
- At OPAC, perform a search with a diacritique. For example 'déjà'
- Go to detail page of a result
=> You see browser under "Browser results"
- Click on "Back to results"
=> You get same results and same search term with correct encoding

Signed-off-by: Broust <jean-manuel.broust at univ-lyon2.fr>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list