Skip to content

Commit 005e375

Browse files
committed
Order server types
1 parent 7a5e173 commit 005e375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Brass/Config/Server/Types.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ has all => (
3232

3333
sub _build_all
3434
{ my $self = shift;
35-
my $type_rs = $self->schema->resultset('Servertype')->search;
35+
my $type_rs = $self->schema->resultset('Servertype')->search({},{ order_by => 'me.name' });
3636
$type_rs->result_class('Brass::Config::Server::Type');
3737
my @all = $type_rs->all;
3838
\@all;

0 commit comments

Comments
 (0)