Fixed bug in agent status filter
This commit is contained in:
parent
21c9a7ee4a
commit
07e476a740
|
@ -355,10 +355,12 @@ function agents_get_agents ($filter = false, $fields = false,
|
||||||
break;
|
break;
|
||||||
case AGENT_STATUS_NOT_NORMAL:
|
case AGENT_STATUS_NOT_NORMAL:
|
||||||
$status_sql =
|
$status_sql =
|
||||||
"(
|
"normal_count <> total_count";
|
||||||
|
//The AGENT_STATUS_NOT_NORMAL filter must show all agents that are not in normal status
|
||||||
|
/*"(
|
||||||
normal_count <> total_count
|
normal_count <> total_count
|
||||||
AND
|
AND
|
||||||
(normal_count + notinit_count) <> total_count)";
|
(normal_count + notinit_count) <> total_count)";*/
|
||||||
break;
|
break;
|
||||||
case AGENT_STATUS_NOT_INIT:
|
case AGENT_STATUS_NOT_INIT:
|
||||||
$status_sql = "notinit_count = total_count";
|
$status_sql = "notinit_count = total_count";
|
||||||
|
|
Loading…
Reference in New Issue