Always show the number of monitors. Ticket #2463
This commit is contained in:
parent
cbfab4781b
commit
8531cd91fd
pandora_console/operation/agentes
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue