Browse Source

see #642 - do the same pagination restoration stuff in editactive.php

issue-642-list-virtual-pagination-after-edit
David Goodwin 3 years ago
parent
commit
80567e6920
  1. 8
      public/editactive.php

8
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;

Loading…
Cancel
Save