mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
see #642 - possible fix for pagination being lost
This commit is contained in:
1 parent
4b8027e8e3
commit
6cc7922284
2 files changed
+9
-1
No files matched your search
+1
-1
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user