Skip to content

Commit

Permalink
Order server types
Browse files Browse the repository at this point in the history
  • Loading branch information
abeverley committed Jan 3, 2025
1 parent 7a5e173 commit 005e375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Brass/Config/Server/Types.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ has all => (

sub _build_all
{ my $self = shift;
my $type_rs = $self->schema->resultset('Servertype')->search;
my $type_rs = $self->schema->resultset('Servertype')->search({},{ order_by => 'me.name' });
$type_rs->result_class('Brass::Config::Server::Type');
my @all = $type_rs->all;
\@all;
Expand Down

0 comments on commit 005e375

Please sign in to comment.