]> iEval git - gruntmaster-data.git/commitdiff
Allow filtering job_list by result
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 8 Mar 2015 07:54:18 +0000 (09:54 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 8 Mar 2015 07:56:01 +0000 (09:56 +0200)
lib/Gruntmaster/Data.pm

index 60ab3e53e4e1a94b6e042e7816cc93e8e1135ee9..69e5d02826ac127f68ecd8ee97b9d9022b14d2ff 100644 (file)
@@ -145,6 +145,7 @@ sub job_list {
        $rs = $rs->search({'me.private'=> 0})          unless $args{private};
        $rs = $rs->search({'me.owner'  => $args{owner}})   if $args{owner};
        $rs = $rs->search({problem     => $args{problem}}) if $args{problem};
+       $rs = $rs->search({result      => $args{result}})  if defined $args{result};
        return {
                log => [map {
                        my %params = $_->get_columns;
This page took 0.024588 seconds and 4 git commands to generate.