From: Jean-André Santoni Date: Thu, 3 Dec 2009 12:43:33 +0000 (+0100) Subject: [MT2343] Select in budget add forum X-Git-Tag: v3.02.00-alpha~45^2~125 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=23b356105a7d9af1be4c8e158216e61f23edd891;p=koha.git [MT2343] Select in budget add forum Sorted the branches select. Modified display to "branchcode - branchname" Fixed a bug, selection was inverted. --- diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl index 8f45e99cb3..c74d1d228e 100755 --- a/admin/aqbudgets.pl +++ b/admin/aqbudgets.pl @@ -152,7 +152,7 @@ if ($op eq 'add_form') { # build branches select my $branches = GetBranches; my @branchloop_select; - foreach my $thisbranch ( keys %$branches ) { + foreach my $thisbranch ( sort keys %$branches ) { my %row = ( value => $thisbranch, branchname => $branches->{$thisbranch}->{'branchname'}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl index b6342f182a..92d8890c92 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl @@ -316,7 +316,9 @@