Bugzilla – Attachment 28911 Details for
Bug 12438
Bad encoding in acquisition basket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12438 - Bad encoding in acquisition basket
Bug-12438---Bad-encoding-in-acquisition-basket.patch (text/plain), 1.26 KB, created by
Fridolin Somers
on 2014-06-17 14:48:26 UTC
(
hide
)
Description:
Bug 12438 - Bad encoding in acquisition basket
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2014-06-17 14:48:26 UTC
Size:
1.26 KB
patch
obsolete
>From ea05cf843bc56a3aa6edfaa370370816c1a0b5aa Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Tue, 17 Jun 2014 16:38:54 +0200 >Subject: [PATCH] Bug 12438 - Bad encoding in acquisition basket > >We noticed a bad encoding (diacritics replaced by <?>) in acquisition basket when updating a server to Debian Wheezy. >We found it comes from a query containing biblio.title twice. >Maybe the mysql newer version creates this side-effect. > >Test plan : >- Create an order on a record containing a diacritic in title >- Look at the basket : cgi-bin/koha/acqui/basket.pl?basketno=x >=> Without the patch the record title is bad encoded (with <?>) >=> With this patch the record title is well encoded >- Check also basket CSV export >--- > C4/Acquisition.pm | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 2e013ac..4550dc2 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -1052,7 +1052,6 @@ sub GetOrders { > SELECT biblio.*,biblioitems.*, > aqorders.*, > aqbudgets.*, >- biblio.title, > aqorders_transfers.ordernumber_from AS transferred_from, > aqorders_transfers.timestamp AS transferred_from_timestamp > FROM aqorders >-- >1.9.1
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 12438
:
28911
|
29209
|
29340