mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed module type order field in agent view. Ticket #392
This commit is contained in:
parent
c527aa243b
commit
86e8e7fc1c
@ -465,11 +465,11 @@ if ($list_modules) {
|
||||
switch ($sort) {
|
||||
case 'up':
|
||||
$selectTypeUp = $selected;
|
||||
$order = array('field' => 'tagente_modulo.id_tipo_modulo', 'order' => 'ASC');
|
||||
$order = array('field' => 'tagente_modulo.id_modulo', 'order' => 'ASC');
|
||||
break;
|
||||
case 'down':
|
||||
$selectTypeDown = $selected;
|
||||
$order = array('field' => 'tagente_modulo.id_tipo_modulo', 'order' => 'DESC');
|
||||
$order = array('field' => 'tagente_modulo.id_modulo', 'order' => 'DESC');
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@ -634,7 +634,6 @@ if ($list_modules) {
|
||||
else
|
||||
$count_modules = 0;
|
||||
|
||||
|
||||
//Get monitors/modules
|
||||
// Get all module from agent
|
||||
switch ($config["dbtype"]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user