From ff8ad64c2797d73464ef9009acba8744922fc61f Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 4 Apr 2011 15:53:19 +0200 Subject: [PATCH] Bug 6046: suggestedby list on she filter was not created properly The suggestedby patron list contained empty lines. This was because retrieving patron name was not correct Signed-off-by: Katrin Fischer Signed-off-by: Chris Cormack --- suggestion/suggestion.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index f5202e4b75..ea3fbf56b2 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -56,7 +56,7 @@ sub GetCriteriumDesc{ return ($criteriumvalue eq 'ASKED'?"Pending":ucfirst(lc( $criteriumvalue))) if ($displayby =~/status/i); return (GetBranchName($criteriumvalue)) if ($displayby =~/branchcode/); return (GetSupportName($criteriumvalue)) if ($displayby =~/itemtype/); - if ($displayby =~/managedby/||$displayby =~/acceptedby/){ + if ($displayby =~/suggestedby/||$displayby =~/managedby/||$displayby =~/acceptedby/){ my $borr=C4::Members::GetMember(borrowernumber=>$criteriumvalue); return "" unless $borr; return $$borr{firstname} . ", " . $$borr{surname}; -- 2.39.5