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:
juanmanuelr 2011-10-10 14:25:42 +00:00
parent 6fa5ec2145
commit 46ed6092bc
2 changed files with 7 additions and 2 deletions

View File

@ -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>
* godmode/agentes/modificar_agente.php: Filter in this view is

View File

@ -173,7 +173,7 @@ switch ($config["dbtype"]) {
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
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;
// If Dbms is Oracle then field_list in sql statement has to be recoded. See oracle_list_all_field_table()
case "oracle":