From: Marcel de Rooy Date: Thu, 28 Mar 2013 12:06:23 +0000 (+0100) Subject: Bug 6554 Followup for circulation patron search X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=f257944d10c2660e7d7297768af314985c80a1c7 Bug 6554 Followup for circulation patron search Adds decoding for patron name. Test plan: Go to Circulation. Enter a name with a diacritic. Find that patron or get a message with the name you entered without converted characters. Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Jared Camins-Esakov --- diff --git a/circ/circulation.pl b/circ/circulation.pl index ca0862bb7e..9c55595272 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -24,6 +24,7 @@ use strict; use warnings; use CGI; + use C4::Output; use C4::Print; use C4::Auth qw/:DEFAULT get_session/; @@ -102,6 +103,7 @@ our %return_failed = (); for (@failedreturns) { $return_failed{$_} = 1; } my $findborrower = $query->param('findborrower') || q{}; +utf8::decode($findborrower); $findborrower =~ s|,| |g; my $borrowernumber = $query->param('borrowernumber');