see #642 - possible fix for pagination being lost

This commit is contained in:
David Goodwin committed 2022-07-25 09:44:12 +01:00
1 parent 4b8027e8e3
commit 6cc7922284
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -261,7 +261,7 @@ $CONF['show_password'] = 'NO';
// Page Size
// Set the number of entries that you would like to see
// in one page.
$CONF['page_size'] = '10';
$CONF['page_size'] = '5';
// Default Aliases
// The default aliases that need to be created for all domains.
+8
View File
@@ -184,6 +184,14 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
}
}
if ($formconf['listview'] == 'list-virtual.php') {
$bits = [];
$bits['domain'] = $_SESSION['list-virtual:domain'] ?? null;
$bits['limit'] = $_SESSION['list-virtual:limit'] ?? null;
header("Location: " . $formconf['listview'] . '?' . http_build_query(array_filter($bits)));
exit(0);
}
header("Location: " . $formconf['listview']);
exit;
}