fix pagination in meta monitor view

This commit is contained in:
alejandro-campos 2019-12-16 11:46:07 +01:00
parent 1bc246742d
commit cc574cdb39
1 changed files with 3 additions and 1 deletions

View File

@ -1709,7 +1709,9 @@ if (!empty($result)) {
html_print_table($table); html_print_table($table);
ui_pagination($count, false, $offset, 0, false, 'offset', true, 'pagination-bottom'); if ($count_modules > $config['block_size']) {
ui_pagination($count_modules, false, $offset, 0, false, 'offset', true, 'pagination-bottom');
}
} else { } else {
if ($first_interaction) { if ($first_interaction) {
ui_print_info_message(['no_close' => true, 'message' => __('This group doesn\'t have any monitor')]); ui_print_info_message(['no_close' => true, 'message' => __('This group doesn\'t have any monitor')]);