projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c9e805
)
Bug 7815 : Order pickup libraries list by name rather than by code
author
Sophie Meynieux
<sophie.meynieux@biblibre.com>
Fri, 23 Mar 2012 14:02:22 +0000
(15:02 +0100)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Sun, 10 Jun 2012 11:09:00 +0000
(13:09 +0200)
Signed-off-by: Marijana Glavica <mglavica@ffzg.hr>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
reserve/request.pl
patch
|
blob
|
history
diff --git
a/reserve/request.pl
b/reserve/request.pl
index
e7191a9
..
c34a614
100755
(executable)
--- 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};
}