Signed-off-by: Shea Levy <shea@shealevy.com>
SHIENRALB65XTTIHXDBFXAXSG2AM23LDYENGOMEIIZROZ7HOH4XAC
OIDTPX3FDZBDQQ2OPECRJ7JZP36OJANJQKF5KYZURVN2OGLUXOVAC
2DGIP6L44ATZLSC4CED35PCHHSBJ4PYUZKNPNCE7OZGB5R2DYR3AC
LZVO64YG43JD7YMZSCTZNOBS5ROZA4FMPKJW2YOMHX2V5PTGBVWQC
J5UVLXOK6EDIL5I7VKWH4V2QDS4DPD7FHRK6XBWSXFRQS4JKXFZQC
C3AG65SWAGDSML5MBD4ZPRCHI2LNNDN6IQZOI3HLYRJRPAW3QPAAC
PMNWRTGJ4GVSMSSAWSUD57B26PCRAHMZIQ5SIWJIK7A74ENKEQLAC
CLJQCY2XHIDNNMFBJ5PK3GQEN6RFALEFKXBJRWZPEIKR4PR5ZQ5AC
entity => [$c->model('DB::Projects')->search(isAdmin($c) ? {} : {hidden => 0}, {
order_by => 'name',
columns => [ 'name', 'displayname', 'description' ]
})]
entity => $c->stash->{projects}
entity => [$c->model('DB::Builds')->search(
{finished => 0}, { order_by => ["priority DESC", "id"], columns => [@buildListColumns] })]
entity => [$c->model('DB::Builds')->search({finished => 0}, { order_by => ["priority DESC", "id"]})]
{ join => { build => [ 'project', 'job', 'jobset' ] },
columns => [
'me.machine',
'me.system',
'me.stepnr',
'me.drvpath',
'me.starttime',
'build.id',
{
'build.project.name' => 'project.name',
'build.jobset.name' => 'jobset.name',
'build.job.name' => 'job.name'
}
],
order_by => [ 'machine' ]
}
{ order_by => [ 'machine' ] }