Bugzilla – Attachment 28883 Details for
Bug 12433
Suggestion status 'Ordered' and 'Available' displayed as 'Unknown'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-12433-Suggestion-status-Ordered-and-Available-di.patch (text/plain), 1.35 KB, created by
Frédéric Demians
on 2014-06-17 10:41:18 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2014-06-17 10:41:18 UTC
Size:
1.35 KB
patch
obsolete
>From 4f8f6a99c2146b5559b697577db5d37ef334ee6e Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Tue, 17 Jun 2014 12:40:45 +0200 >Subject: [PATCH] Bug 12433 - Suggestion status 'Ordered' and 'Available' > displayed as 'Unknown' > >In Acquisitions > Suggestions, there is a tabs bar displaying by default >five suggestion status. Two of them are improperly displayed as >'Unknown'. > >To test: > >1 Without the path, go to Acquisitions > Suggestions. >2 You can see two tabs labeled Unknown >3 Apply the patch >4 Go to Acquisitions > Suggestions >5 'Unknown' tabs are now displayed: Available and Ordered. >--- > suggestion/suggestion.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl >index 949cca3..4d4371a 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) ) { >+ unless ( grep { /$criteriumvalue/ } qw(ASKED ACCEPTED REJECTED CHECKED ORDERED AVAILABLE) ) { > return GetAuthorisedValueByCode('SUGGEST_STATUS', $criteriumvalue ) || "Unknown"; > } > return ($criteriumvalue eq 'ASKED'?"Pending":ucfirst(lc( $criteriumvalue))) if ($displayby =~/status/i); >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12433
: 28883 |
28884
|
28885