From fc78b9122244c040a89ba6405e1f61d6119b27e7 Mon Sep 17 00:00:00 2001 From: rangi Date: Mon, 16 Jun 2003 09:19:44 +0000 Subject: [PATCH] Ordering branches by branchname --- C4/Catalogue.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Catalogue.pm b/C4/Catalogue.pm index 5b756ff48b..1774887d15 100644 --- a/C4/Catalogue.pm +++ b/C4/Catalogue.pm @@ -890,7 +890,7 @@ table of the Koha database. #' sub branches { my $dbh = C4::Context->dbh; - my $query = "Select * from branches"; + my $query = "Select * from branches order by branchname"; my $sth = $dbh->prepare($query); my $i = 0; my @results;