Ordering branches by branchname

This commit is contained in:
rangi 2003-06-16 09:19:44 +00:00
parent 67194251ac
commit fc78b91222

View file

@ -890,7 +890,7 @@ table of the Koha database.
#' #'
sub branches { sub branches {
my $dbh = C4::Context->dbh; my $dbh = C4::Context->dbh;
my $query = "Select * from branches"; my $query = "Select * from branches order by branchname";
my $sth = $dbh->prepare($query); my $sth = $dbh->prepare($query);
my $i = 0; my $i = 0;
my @results; my @results;