Fixed problems with filter agents with status not is normal. Tiquet: #2788
This commit is contained in:
parent
f7acec00e3
commit
67ee2232cb
|
@ -328,7 +328,8 @@ function agents_get_agents ($filter = false, $fields = false,
|
||||||
switch ($filter['status']) {
|
switch ($filter['status']) {
|
||||||
case AGENT_STATUS_NORMAL:
|
case AGENT_STATUS_NORMAL:
|
||||||
$status_sql =
|
$status_sql =
|
||||||
"normal_count = total_count";
|
"normal_count = total_count
|
||||||
|
AND notinit_count <> total_count";
|
||||||
break;
|
break;
|
||||||
case AGENT_STATUS_WARNING:
|
case AGENT_STATUS_WARNING:
|
||||||
$status_sql =
|
$status_sql =
|
||||||
|
|
Loading…
Reference in New Issue