mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-28 02:20:41 +00:00
set pageNumber to all in export mode
This commit is contained in:
parent
975d1de703
commit
7fdd0431c1
|
|
@ -247,7 +247,9 @@ $status = isset($get['status']) ? $get['status'] : array();
|
||||||
//
|
//
|
||||||
// Default page to display is always one.
|
// Default page to display is always one.
|
||||||
$pageNumber=1;
|
$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) {
|
if (is_numeric($get["pg"]) && $get["pg"]>0) {
|
||||||
$pageNumber = (int) $get["pg"];
|
$pageNumber = (int) $get["pg"];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user