Store iPage in handleMultiPageControls(). Fixes the case where an iPage would not be set for
page 1, causing iItemsPerPage value to be ignored when returning from data processing
This commit is contained in:
committed by
WineHQ
parent
80ca144225
commit
b9588ab76e
@@ -689,6 +689,7 @@ class ObjectManager
|
|||||||
/* Fill the MultiPage object with the LIMIT related values */
|
/* Fill the MultiPage object with the LIMIT related values */
|
||||||
$iLowerLimit = ($iPage - 1) * $iItemsPerPage;
|
$iLowerLimit = ($iPage - 1) * $iItemsPerPage;
|
||||||
$this->oMultiPage->MultiPage(TRUE, $iItemsPerPage, $iLowerLimit);
|
$this->oMultiPage->MultiPage(TRUE, $iItemsPerPage, $iLowerLimit);
|
||||||
|
$this->oMultiPage->iPage = $iPage;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getQueueString($bQueued, $bRejected)
|
function getQueueString($bQueued, $bRejected)
|
||||||
|
|||||||
Reference in New Issue
Block a user