From f257944d10c2660e7d7297768af314985c80a1c7 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 28 Mar 2013 13:06:23 +0100 Subject: [PATCH] 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 --- circ/circulation.pl | 2 ++ 1 file changed, 2 insertions(+) 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'); -- 2.39.5