Fixed problems with filter agents with status not is normal. Tiquet: #2788

This commit is contained in:
m-lopez-f 2015-09-23 13:40:46 +02:00
parent f7acec00e3
commit 67ee2232cb
1 changed files with 2 additions and 1 deletions

View File

@ -328,7 +328,8 @@ function agents_get_agents ($filter = false, $fields = false,
switch ($filter['status']) {
case AGENT_STATUS_NORMAL:
$status_sql =
"normal_count = total_count";
"normal_count = total_count
AND notinit_count <> total_count";
break;
case AGENT_STATUS_WARNING:
$status_sql =