mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-11754-15970-error-de-paginacion-de-custom_graphs' into 'develop'
Ent 11754 15970 error de paginacion de custom graphs See merge request artica/pandorafms!6267
This commit is contained in:
commit
458226e24d
@ -488,14 +488,38 @@ if (!empty($graphs)) {
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
$ActionButtons[] = '</form>';
|
$ActionButtons[] = '</form>';
|
||||||
|
|
||||||
|
$offset = (int) get_parameter('offset', 0);
|
||||||
|
$block_size = (int) $config['block_size'];
|
||||||
|
|
||||||
|
$tablePagination = ui_pagination(
|
||||||
|
count($graphs),
|
||||||
|
false,
|
||||||
|
$offset,
|
||||||
|
$block_size,
|
||||||
|
true,
|
||||||
|
'offset',
|
||||||
|
false
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FALTA METER EL PRINT TABLE.
|
// FALTA METER EL PRINT TABLE.
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
|
|
||||||
|
if (is_metaconsole() === true) {
|
||||||
html_print_action_buttons(
|
html_print_action_buttons(
|
||||||
implode('', $ActionButtons),
|
implode('', $ActionButtons),
|
||||||
['type' => 'form_action']
|
['type' => 'form_action']
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
html_print_action_buttons(
|
||||||
|
implode('', $ActionButtons),
|
||||||
|
[
|
||||||
|
'type' => 'form_action',
|
||||||
|
'right_content' => $tablePagination,
|
||||||
|
]
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user