Bugzilla – Attachment 9001 Details for
Bug 7831
In neworderempty budget drop down budgets should appear in a rational order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7831 : Sort budgets for selection in new order
Bug-7831--Sort-budgets-for-selection-in-new-order.patch (text/plain), 882 bytes, created by
Chris Cormack
on 2012-04-07 07:24:17 UTC
(
hide
)
Description:
Bug 7831 : Sort budgets for selection in new order
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-04-07 07:24:17 UTC
Size:
882 bytes
patch
obsolete
>From 45e854e46745dbdf21a8d9b4d0d47323550e8c7c Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Tue, 27 Mar 2012 16:04:12 +0100 >Subject: [PATCH] Bug 7831 : Sort budgets for selection in new order > >The select budget dropdown list should be presented in >an ordered fashion. To achieve this sort the budget array >by the visible text. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > acqui/neworderempty.pl | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index d482554..7dc7cb5 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -264,6 +264,8 @@ foreach my $r (@{$budgets}) { > }; > } > >+@{$budget_loop} = >+ sort { uc( $a->{b_txt}) cmp uc( $b->{b_txt}) } @{$budget_loop}; > > if ($close) { > $budget_id = $data->{'budget_id'}; >-- >1.7.5.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 7831
:
8648
| 9001