From b9ecd6561057ea6551af4d9d84032568c50204a6 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Tue, 20 May 2008 18:21:11 +0200 Subject: [PATCH] fix for #1788 : Locations do not sort alphabetically by name in list on "Set" location Signed-off-by: Joshua Ferraro --- circ/selectbranchprinter.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/selectbranchprinter.pl b/circ/selectbranchprinter.pl index 8b83b884b2..17a89efb32 100755 --- a/circ/selectbranchprinter.pl +++ b/circ/selectbranchprinter.pl @@ -67,7 +67,7 @@ my $oldprinter = $printer; my $branchcount = 0; my $printercount = 0; my @branchloop; -foreach my $br ( keys %$branches ) { +foreach my $br ( sort keys %$branches ) { next unless $br =~ /\S/; # next unless $br is not blank. $branchcount++; -- 2.39.5