From 098aa68d805b47337c59d362511a8caa1b796445 Mon Sep 17 00:00:00 2001 From: vgilc Date: Wed, 27 Aug 2014 06:42:49 +0000 Subject: [PATCH] 2014-08-27 Vanessa Gil * godmode/groups/group_list.php: Fixed problem displaying empty agents. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/groups/group_list.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2c5f642ccb..92c9507368 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-08-27 Vanessa Gil + + * godmode/groups/group_list.php: Fixed problem displaying empty + agents. + 2014-08-26 Miguel de Dios * include/functions_clippy.php, include/styles/pandora.css: some diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 3a1a412d2a..791c571473 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -101,7 +101,7 @@ if (is_ajax ()) { $_sql_post = ' 1=1 '; if ($show_void_agents == 0) { - $_sql_post .= ' AND id_agente IN (SELECT a.id_agente FROM tagente a, tagente_modulo b WHERE a.id_agente=b.id_agente) AND \'1\''; + $_sql_post .= ' AND id_agente IN (SELECT a.id_agente FROM tagente a, tagente_modulo b WHERE a.id_agente=b.id_agente AND b.delete_pending=0) AND \'1\''; $filter[$_sql_post] = '1'; }