Fixed errors filter search with pagination

This commit is contained in:
Daniel Barbero Martin 2020-05-21 09:13:39 +02:00
parent 44991d0b46
commit a73ec18867
1 changed files with 6 additions and 1 deletions

View File

@ -767,9 +767,14 @@ switch ($action) {
)
);
if (count($reports)) {
$filters = [
'search' => $search,
'id_group' => $id_group,
];
$filtersStr = http_build_query($filters, '', '&');
$url = 'index.php?sec=reporting&sec2=godmode/reporting/reporting_builder';
$url .= '&'.$filtersStr;
ui_pagination($total_reports, $url, $offset, $pagination);
$table = new stdClass();