#11954 Fix pagination

This commit is contained in:
miguel angel rasteu 2023-08-31 10:58:39 +02:00
parent 0d4a097a48
commit 9c470053ae
1 changed files with 5 additions and 1 deletions

View File

@ -217,6 +217,7 @@ foreach ($fields as $field) {
array_push($table->data, $data);
}
$tablePagination = '';
if ($fields) {
html_print_table($table);
$tablePagination = ui_pagination($count_fields, false, $offset, 0, true, 'offset', false);
@ -231,6 +232,9 @@ html_print_action_buttons(
[ 'icon' => 'next' ],
true
),
['type' => 'form_action']
[
'type' => 'form_action',
'right_content' => $tablePagination,
],
);
echo '</form>';