Now always show the number of monitors in monitor view. Ticket #2463
This commit is contained in:
parent
8531cd91fd
commit
c9231ad125
|
@ -805,9 +805,7 @@ switch ($config["dbtype"]) {
|
|||
if (! defined ('METACONSOLE')) {
|
||||
$result = db_get_all_rows_sql ($sql);
|
||||
|
||||
//if ($count > $config["block_size"]) {
|
||||
ui_pagination ($count, false, $offset);
|
||||
//}
|
||||
ui_pagination ($count, false, $offset);
|
||||
|
||||
if ($result === false) {
|
||||
$result = array ();
|
||||
|
@ -875,9 +873,9 @@ else {
|
|||
|
||||
}
|
||||
|
||||
//if ($count_modules > $config["block_size"]) {
|
||||
if ($count_modules > $config["block_size"]) {
|
||||
ui_pagination ($count_modules, false, $offset);
|
||||
//}
|
||||
}
|
||||
|
||||
// Get number of elements of the pagination
|
||||
$result = ui_meta_get_subset_array($result, $inferior_limit, $superior_limit);
|
||||
|
|
Loading…
Reference in New Issue