From 23b356105a7d9af1be4c8e158216e61f23edd891 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Andr=C3=A9=20Santoni?= Date: Thu, 3 Dec 2009 13:43:33 +0100 Subject: [PATCH] [MT2343] Select in budget add forum Sorted the branches select. Modified display to "branchcode - branchname" Fixed a bug, selection was inverted. --- admin/aqbudgets.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 @@ -- 2.39.5