order jobset in project view

This commit is contained in:
Rob Vermaas
2010-03-18 15:15:14 +00:00
parent abfd6507b2
commit ef34de7603
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ sub project : Chained('/') PathPart('project') CaptureArgs(1) {
or notFound($c, "Project $projectName doesn't exist.");
$c->stash->{project} = $project;
$c->stash->{jobsets} = [$project->jobsets->search({},{ order_by => "name" })];
}