Always show the number of monitors. Ticket

This commit is contained in:
Arturo Gonzalez Diaz 2015-07-20 10:30:05 +02:00
parent cbfab4781b
commit 8531cd91fd
1 changed files with 4 additions and 4 deletions
pandora_console/operation/agentes

View File

@ -805,9 +805,9 @@ switch ($config["dbtype"]) {
if (! defined ('METACONSOLE')) { if (! defined ('METACONSOLE')) {
$result = db_get_all_rows_sql ($sql); $result = db_get_all_rows_sql ($sql);
if ($count > $config["block_size"]) { //if ($count > $config["block_size"]) {
ui_pagination ($count, false, $offset); ui_pagination ($count, false, $offset);
} //}
if ($result === false) { if ($result === false) {
$result = array (); $result = array ();
@ -875,9 +875,9 @@ else {
} }
if ($count_modules > $config["block_size"]) { //if ($count_modules > $config["block_size"]) {
ui_pagination ($count_modules, false, $offset); ui_pagination ($count_modules, false, $offset);
} //}
// Get number of elements of the pagination // Get number of elements of the pagination
$result = ui_meta_get_subset_array($result, $inferior_limit, $superior_limit); $result = ui_meta_get_subset_array($result, $inferior_limit, $superior_limit);