Bugzilla – Attachment 724 Details for
Bug 2553
alphabetize dropdown menus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for location drop-down in Catalog Statistics Wizard
0012-Bug-2553-Fixes-the-location-drop-down-alphabetizati.patch (text/plain), 941 bytes, created by
Chris Cormack
on 2009-07-17 23:02:00 UTC
(
hide
)
Description:
Patch for location drop-down in Catalog Statistics Wizard
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-07-17 23:02:00 UTC
Size:
941 bytes
patch
obsolete
>From e97fd212c1e244dd1d7e16d842d81d4b8b5c2ef9 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Fri, 17 Jul 2009 19:01:21 -0400 >Subject: [PATCH] Bug 2553: Fixes the location drop-down alphabetization for the catalog statistics report form. >Content-Type: text/plain; charset="utf-8" > >--- > reports/catalogue_stats.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl >index 34b649f..365065f 100755 >--- a/reports/catalogue_stats.pl >+++ b/reports/catalogue_stats.pl >@@ -156,7 +156,7 @@ if ($do_it) { > > my $branches=GetBranches(); > my @branchloop; >- foreach (keys %$branches) { >+ foreach (sort {$branches->{$a}->{'branchname'} cmp $branches->{$b}->{'branchname'}} keys %$branches) { > my $thisbranch = ''; # FIXME: populate $thisbranch to preselect one > my %row = (branchcode => $_, > selected => ($thisbranch eq $_ ? 1 : 0), >-- >1.5.6.5 >
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 2553
:
721
|
722
|
723
|
724
|
725
|
726
|
727
|
728
|
729
|
730
|
731
|
732
|
733
|
11788
|
11789