Bugzilla – Attachment 30455 Details for
Bug 12637
UTF-8 problems when creating a patron list from the patron search results page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 12637: UTF-8 problems when creating a patron list
0028-SIGNED-OFF-Bug-12637-UTF-8-problems-when-creating-a-.patch (text/plain), 1.76 KB, created by
Owen Leonard
on 2014-08-01 13:44:47 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 12637: UTF-8 problems when creating a patron list
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-08-01 13:44:47 UTC
Size:
1.76 KB
patch
obsolete
>From 69860bfb98c4a686ce0cb8d006f0ed4c83c82276 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 24 Jul 2014 10:51:19 +0200 >Subject: [PATCH 28/28] [SIGNED-OFF] Bug 12637: UTF-8 problems when creating a > patron list >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit >Content-Type: text/plain; charset="utf-8" > >Encoding problems appear when creating a patron list from the patron search results page. > >Test plan: >1. Perform a patron search in the patrons module >2. Select one or more patrons >3. Choose "Add selected patrons to: [ New list ]" >4. Enter a patron list title with UTF-8 characters, ex: "PÃ tron list >five " >5. The list will be created with bad encoding: >"P%C3%A0tron%20list%20five%20" >6. Apply the patch and verify there is no bad encoding anymore. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/modules/members/member.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index f167e32..64df966 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -58,8 +58,8 @@ $(document).ready(function() { > borrowernumbers.push($(this).val()); > }); > var data = { >- add_to_patron_list: encodeURIComponent($("#add_to_patron_list").val()), >- new_patron_list: encodeURIComponent($("#new_patron_list").val()), >+ add_to_patron_list: $("#add_to_patron_list").val(), >+ new_patron_list: $("#new_patron_list").val(), > borrowernumbers: borrowernumbers > }; > $.ajax({ >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12637
:
30013
|
30455
|
35374