Skip to content

Commit

Permalink
The id columns is necessary to be able to get columns not in ->columns
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmv committed Jul 22, 2013
1 parent 72b30d2 commit 198bb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Smokingit/View/Commit.pm
Expand Up @@ -40,7 +40,7 @@ template '/smoke' => page {
my $results = Smokingit::Model::SmokeFileResultCollection->new;
$results->limit( column => "smoke_result_id", value => $s->id );
$results->order_by( column => "filename" );
$results->columns( "filename", "is_ok", "elapsed" );
$results->columns( "id", "filename", "is_ok", "elapsed" );
while (my $result = $results->next) {
div {
class is ($result->is_ok ? "passingfile" : "failingfile");
Expand Down

0 comments on commit 198bb13

Please sign in to comment.