Make channels a product type instead of subtype.
Now we can provide different channel expressions for one particular channel build. Not sure yet how this would be useful, but I found it more appropriate to use a type instead of a subtype of "file". This should get us consistent with the provious commit. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
@ -160,8 +160,7 @@ sub channels_tab : Chained('jobsetChain') PathPart('channels-tab') Args(0) {
|
||||
|
||||
foreach my $eval (@evals) {
|
||||
my @builds = $eval->builds->search(
|
||||
{ 'buildproducts.type' => 'file'
|
||||
, 'buildproducts.subtype' => 'channel' },
|
||||
{ 'buildproducts.type' => 'channel' },
|
||||
{ join => ["buildproducts"]
|
||||
, columns => ['id', 'job', 'finished', 'buildstatus'] }
|
||||
);
|
||||
|
Reference in New Issue
Block a user