From da4171b59e073b783963f3489ceab60a730d53be Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 4 May 2004 21:31:51 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3334 --- html/inc/db_ops.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/html/inc/db_ops.inc b/html/inc/db_ops.inc index c6f7cb44c8..94cce6dca8 100644 --- a/html/inc/db_ops.inc +++ b/html/inc/db_ops.inc @@ -155,14 +155,14 @@ class SqlQueryString { $this->addeq('hostid'); $this->addeq('userid'); $this->addeq('teamid'); - if ($_GET['nsecs']) { + $this->addeq('exit_status'); + if ($_GET['nsecs']) { $_GET['received_time'] = time() - $_GET['nsecs']; } $this->addgt('received_time'); $this->addeqnz('server_state'); $this->addeqnz('outcome'); $this->addeqnz('client_state'); - $this->addeqnz('exit_status'); if ($_GET['clauses']) { $this->addclause($_GET['clauses']); } @@ -334,6 +334,9 @@ WHERE function show_failure_result_summary_by_platform() { + $_GET['table'] = 'result'; + $_GET['sort_by'] = ''; // ignore sort + $query_appid = $_GET['appid']; $query_received_time = time() - $_GET['nsecs'];