diff --git a/html/inc/db_ops.inc b/html/inc/db_ops.inc index 4f5e33efee..fd81aa4903 100644 --- a/html/inc/db_ops.inc +++ b/html/inc/db_ops.inc @@ -296,10 +296,10 @@ FROM result WHERE if ($query_appid) $main_query .= "appid=$query_appid and "; -if ($query_received_time) - $main_query .= "received_time > $query_received_time and "; if ($query_wuid) $main_query .= "workunitid=$query_wuid and "; +if ($query_received_time) + $main_query .= "received_time > $query_received_time and "; $main_query .= "1=1"; @@ -647,6 +647,7 @@ function show_workunit($wu) { start_table(); row("Created", time_str($wu->create_time)); + row("Transition Time", time_str($wu->transition_time)); row("Name", $wu->name); row("XML doc", "
".htmlspecialchars($wu->xml_doc).""); row("Application", "appid>" . app_name_by_id($wu->appid) . ""); @@ -666,6 +667,7 @@ function show_workunit($wu) { row("Assimilation state", assimilate_state_str($wu->assimilate_state)); // row("","id&detail=low>Show associated results"); row("min quorum", $wu->min_quorum); + row("target results", $wu->target_nresults); row("max error results", $wu->max_error_results); row("max total results", $wu->max_total_results); row("max success results", $wu->max_success_results); @@ -848,7 +850,7 @@ function result_short_header() {