Bug 449788 - TestRun Status search seems to work backwards

git-svn-id: svn://10.0.0.236/trunk@255350 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ghendricks%novell.com
2008-12-04 23:33:05 +00:00
parent f7b2fe45bb
commit e1667ddbcb

View File

@@ -1364,10 +1364,10 @@ sub init {
my @sta = $cgi->param('run_status');
unless (scalar @sta > 1){
if ($cgi->param('run_status') == 1){
push(@specialchart, ['stop_date', 'isnotnull', 'null']);
push(@specialchart, ['stop_date', 'isnull', 'null']);
}
else {
push(@specialchart, ['stop_date', 'isnull', 'null']);
push(@specialchart, ['stop_date', 'isnotnull', 'null']);
}
}
}
@@ -1714,7 +1714,7 @@ sub init {
$query .= " LIMIT $pagesize OFFSET ". $page*$pagesize;
}
if ($debug) {
print "<p><code>" . value_quote($query) . "</code></p>\n";
print "<p><code>" . $query . "</code></p>\n";
}
$self->{'sql'} = $query;