diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index 6b08e19c56..279417431d 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -89,7 +89,7 @@ if ( $op eq 'cud-create' || $op eq 'new' ) { $params = { branchcode => { -in => \@PatronSelfRegistrationLibraryList } } if @PatronSelfRegistrationLibraryList; } -my $libraries = Koha::Libraries->search($params); +my $libraries = Koha::Libraries->search( $params, { order_by => ['branchname'] } ); my ( $min, $max ) = Koha::Policy::Patrons::Cardnumber->get_valid_length(); if ( defined $min ) {