From ae0a459e85a596703d930e36efc1931bfca74fbb Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 28 Mar 2013 13:06:23 +0100 Subject: [PATCH] [SIGNED-OFF] 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 --- circ/circulation.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circ/circulation.pl b/circ/circulation.pl index 24b1576..fcc4a05 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'); -- 1.7.9.5