diff --git a/config.inc.php b/config.inc.php index f419d8d1..fa660557 100644 --- a/config.inc.php +++ b/config.inc.php @@ -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. diff --git a/public/edit.php b/public/edit.php index cd8c55f4..d12daece 100644 --- a/public/edit.php +++ b/public/edit.php @@ -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; }