Ordering branches by branchname
This commit is contained in:
parent
67194251ac
commit
fc78b91222
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue