set pageNumber to all in export mode

This commit is contained in:
Uwe Steinmann 2025-09-22 10:41:15 +02:00
parent 975d1de703
commit 7fdd0431c1

View File

@ -247,7 +247,9 @@ $status = isset($get['status']) ? $get['status'] : array();
//
// Default page to display is always one.
$pageNumber=1;
if (isset($get["pg"])) {
if (isset($get['action']) && $get['action'] == 'export') {
$pageNumber = 'all';
} elseif (isset($get["pg"])) {
if (is_numeric($get["pg"]) && $get["pg"]>0) {
$pageNumber = (int) $get["pg"];
}