From d4a4ccc57f26d531e2b27303e710525b816fa862 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 4 May 2004 21:23:28 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3333 --- checkin_notes | 7 +++++++ html/inc/db_ops.inc | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 6b63db04d1..eecc75ad3c 100755 --- a/checkin_notes +++ b/checkin_notes @@ -12019,4 +12019,11 @@ Rom May 4 2004 html/inc/ db_ops.inc + +Rom May 4 2004 + - Include a link on the failure page that'll bring up a report with only those + failures + + html/inc/ + db_ops.inc \ No newline at end of file diff --git a/html/inc/db_ops.inc b/html/inc/db_ops.inc index 5826b0c5fc..c6f7cb44c8 100644 --- a/html/inc/db_ops.inc +++ b/html/inc/db_ops.inc @@ -58,6 +58,7 @@ function join_query_string($s1, $s2) { // server_state (== x if z nonzero) // outcome (== x if z nonzero) // client_state (== x if z nonzero) +// exit_status (== x if z nonzero) // clauses (literals added after the above) // sort_by (order by x desc added after all else) // @@ -161,6 +162,7 @@ class SqlQueryString { $this->addeqnz('server_state'); $this->addeqnz('outcome'); $this->addeqnz('client_state'); + $this->addeqnz('exit_status'); if ($_GET['clauses']) { $this->addclause($_GET['clauses']); } @@ -335,6 +337,9 @@ function show_failure_result_summary_by_platform() { $query_appid = $_GET['appid']; $query_received_time = time() - $_GET['nsecs']; + $q = new SqlQueryString(); + $q->process_form_items(); + $main_query = " SELECT app_version_num AS App_Version, @@ -369,8 +374,10 @@ GROUP BY exit_status "; + $urlquery = $q->urlquery; $result = mysql_query($main_query); + echo "\n"; echo "\n"; @@ -392,7 +399,7 @@ GROUP BY echo ""; echo ""; echo "
App VersionOS NameOS VersionExit StatusError Count
"; - echo exit_status_string($res); + echo link_results(exit_status_string($res), $urlquery, 'exit_status=$res->exit_status'); echo "";