mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2011-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_monitores.php: Fixed query to add module group in the agrupation. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
6fa5ec2145
commit
46ed6092bc
@ -1,3 +1,8 @@
|
|||||||
|
2011-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
|
* operation/agentes/estado_monitores.php: Fixed query to add module
|
||||||
|
group in the agrupation.
|
||||||
|
|
||||||
2011-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
2011-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* godmode/agentes/modificar_agente.php: Filter in this view is
|
* godmode/agentes/modificar_agente.php: Filter in this view is
|
||||||
|
@ -156,7 +156,7 @@ switch ($config["dbtype"]) {
|
|||||||
switch ($config["dbtype"]) {
|
switch ($config["dbtype"]) {
|
||||||
case "mysql":
|
case "mysql":
|
||||||
case "postgresql":
|
case "postgresql":
|
||||||
/* $sql = sprintf ("
|
/* $sql = sprintf ("
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM tagente_estado, tagente_modulo
|
FROM tagente_estado, tagente_modulo
|
||||||
LEFT JOIN tmodule_group
|
LEFT JOIN tmodule_group
|
||||||
@ -173,7 +173,7 @@ switch ($config["dbtype"]) {
|
|||||||
LEFT JOIN tmodule_group ON tagente_modulo.id_module_group = tmodule_group.id_mg
|
LEFT JOIN tmodule_group ON tagente_modulo.id_module_group = tmodule_group.id_mg
|
||||||
WHERE tagente_estado.id_agente_modulo = tagente_modulo.id_agente_modulo
|
WHERE tagente_estado.id_agente_modulo = tagente_modulo.id_agente_modulo
|
||||||
AND tagente_estado.utimestamp != 0
|
AND tagente_estado.utimestamp != 0
|
||||||
ORDER BY %s %s", $id_agente, $order['field'], $order['order']);
|
ORDER BY tagente_modulo.id_module_group , %s %s", $id_agente, $order['field'], $order['order']);
|
||||||
break;
|
break;
|
||||||
// If Dbms is Oracle then field_list in sql statement has to be recoded. See oracle_list_all_field_table()
|
// If Dbms is Oracle then field_list in sql statement has to be recoded. See oracle_list_all_field_table()
|
||||||
case "oracle":
|
case "oracle":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user