Bugzilla – Attachment 8593 Details for
Bug 7815
Order pickup library list by name rather than by code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Order the pickup library list by name
0001-Bug-7815-Order-pickup-libraries-list-by-name-rather-.patch (text/plain), 849 bytes, created by
Sophie MEYNIEUX
on 2012-03-23 14:12:10 UTC
(
hide
)
Description:
Order the pickup library list by name
Filename:
MIME Type:
Creator:
Sophie MEYNIEUX
Created:
2012-03-23 14:12:10 UTC
Size:
849 bytes
patch
obsolete
>From 4b4580c17ad7a8433a001b590e3464ece23afe4f Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Fri, 23 Mar 2012 15:02:22 +0100 >Subject: [PATCH] Bug 7815 : Order pickup libraries list by name rather than > by code > >--- > reserve/request.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/reserve/request.pl b/reserve/request.pl >index b96447f..015fda4 100755 >--- a/reserve/request.pl >+++ b/reserve/request.pl >@@ -69,7 +69,7 @@ my $default = C4::Context->userenv->{branch}; > my @values; > my %label_of; > >-foreach my $branchcode (sort keys %{$branches} ) { >+foreach my $branchcode ( sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %$branches ) { > push @values, $branchcode; > $label_of{$branchcode} = $branches->{$branchcode}->{branchname}; > } >-- >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 7815
:
8593
|
10046