From 44623f780ebca545cb615386a5a113bfc5b2ca50 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Thu, 14 Sep 2017 17:34:00 +0200 Subject: [PATCH] Fixed ordering and repetition modules --- pandora_console/godmode/massive/massive_delete_modules.php | 2 +- pandora_console/godmode/massive/massive_edit_modules.php | 2 +- pandora_console/operation/agentes/ver_agente.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/massive/massive_delete_modules.php b/pandora_console/godmode/massive/massive_delete_modules.php index 8d3260df3d..fbef6852f1 100755 --- a/pandora_console/godmode/massive/massive_delete_modules.php +++ b/pandora_console/godmode/massive/massive_delete_modules.php @@ -600,7 +600,7 @@ $(document).ready (function () { var params = { "page" : "operation/agentes/ver_agente", "get_agent_modules_json" : 1, - "get_id_and_name" : 1, + "get_distinct_name" : 1, "indexed" : 0, "privilege" : "AW" }; diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index dfafbb7559..3c775bae93 100755 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -741,7 +741,7 @@ $(document).ready (function () { var params = { "page" : "operation/agentes/ver_agente", "get_agent_modules_json" : 1, - "get_id_and_name" : 1, + "get_distinct_name" : 1, "indexed" : 0 }; diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index 95928a784d..c0a128ea23 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -97,7 +97,7 @@ if (is_ajax ()) { $filter[] = "(notinit_count = total_count)"; break; } - $filter['order'] = "nombre ASC"; + $filter['order'] = "alias ASC"; // Build fields $fields = array('id_agente', 'alias');