From 4258ea6fe372558e9351e9136552aa8ac20decf2 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 2 Jul 2013 09:33:59 -0400 Subject: [PATCH] Bug 10519 - Suggestions: 'Organize by' and correct display of tab descriptions broken - Change "Unknown" to authorised value --- suggestion/suggestion.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 6a32a48..6d8350f 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -59,7 +59,7 @@ sub Init{ sub GetCriteriumDesc{ my ($criteriumvalue,$displayby)=@_; unless ( grep { /$criteriumvalue/ } qw(ASKED ACCEPTED REJECTED CHECKED ORDERED AVAILABLE) ) { - return GetAuthorisedValueByCode('SUGGEST_STATUS', $criteriumvalue ) || "Unknown"; + return GetAuthorisedValueByCode('SUGGEST_STATUS', $criteriumvalue ) || $criteriumvalue; } return ($criteriumvalue eq 'ASKED'?"Pending":ucfirst(lc( $criteriumvalue))) if ($displayby =~/status/i); return (GetBranchName($criteriumvalue)) if ($displayby =~/branchcode/); -- 1.7.2.5