Merge branch 'ent-11898-16094-bug-paginacion-en-custom-fields' into 'develop'

Ent 11898 16094 bug paginacion en custom fields

See merge request artica/pandorafms!6379
This commit is contained in:
Rafael Ameijeiras 2023-11-27 11:57:53 +00:00
commit 9a172b3f84
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>';