From 80567e6920a5276925993b4fe71b22dc752d4d35 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sat, 30 Jul 2022 21:23:57 +0100 Subject: [PATCH] see #642 - do the same pagination restoration stuff in editactive.php --- public/editactive.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/editactive.php b/public/editactive.php index 793c5eee..d00f39c7 100644 --- a/public/editactive.php +++ b/public/editactive.php @@ -58,6 +58,14 @@ if ($handler->init($id)) { # errors will be displayed as last step anyway, no ne flash_error($handler->errormsg); flash_info($handler->infomsg); +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;