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 "
App Version | OS Name | OS Version | Exit Status | Error Count | "; - echo exit_status_string($res); + echo link_results(exit_status_string($res), $urlquery, 'exit_status=$res->exit_status'); echo " | "; echo ""; |
---|