* hydra: order project list on name

This commit is contained in:
Rob Vermaas 2010-02-25 09:02:48 +00:00
parent 6fd6e11794
commit 8678da61ef

View file

@ -26,7 +26,7 @@ sub begin :Private {
sub index :Path :Args(0) {
my ($self, $c) = @_;
$c->stash->{template} = 'overview.tt';
$c->stash->{projects} = [$c->model('DB::Projects')->search({}, {order_by => 'displayname'})];
$c->stash->{projects} = [$c->model('DB::Projects')->search({}, {order_by => 'name'})];
}