#9362 Change sql for count modules from tagente_datos
This commit is contained in:
parent
6f2b50af56
commit
bc6893b83e
|
@ -1277,7 +1277,7 @@ class Diagnostics extends Wizard
|
|||
);
|
||||
|
||||
$modulesDataCount = db_get_value_sql(
|
||||
'SELECT COUNT(*) * 300 as total FROM tmodule_inventory'
|
||||
'SELECT count(*) * 300 FROM (SELECT * FROM tagente_datos GROUP BY id_agente_modulo) AS totalmodules'
|
||||
);
|
||||
$modulesDataCount = ($modulesDataCount >= 500000) ? $modulesDataCount : 500000;
|
||||
|
||||
|
|
Loading…
Reference in New Issue