(fix): added empty get header redirect
This commit is contained in:
1 parent
a1711afecc
commit
cafe0b58d0
1 file changed
+5
@@ -15,6 +15,11 @@ $filters = [
|
||||
'page' => $_GET['page'] ?? 0 // Default to first page
|
||||
];
|
||||
|
||||
// If no query parameters exist (initial page load), redirect to set default ones
|
||||
if (empty($_GET)) {
|
||||
redirectWithFilters($filters);
|
||||
}
|
||||
|
||||
$rowLimit = 5;
|
||||
$facilityDataSet = new FacilityDataSet();
|
||||
|
||||
|
||||
Reference in new issue
Block a user