2009-06-30 Ramon Novoa <rnovoa@artica.es>

* include/fgraph.php: Limit the number of agents in modules per agent
          charts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2009-06-30 16:56:54 +00:00
parent 6956f70677
commit d420fe891a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-06-30 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Limit the number of agents in modules per agent
charts.
2009-06-30 Ramon Novoa <rnovoa@artica.es>
* include/functions_fsgraph.php: Truncate long names for flash charts.

View File

@ -717,7 +717,7 @@ function graph_db_agentes_modulos ($width, $height) {
$modules = get_db_all_rows_sql ('SELECT COUNT(id_agente_modulo),id_agente
FROM tagente_modulo GROUP BY id_agente
ORDER BY 1 DESC');
ORDER BY 1 DESC LIMIT 8');
if ($modules === false)
$modules = array ();