objectManager, add rejection support. Add support in objectManager for handling rejected
data.
This commit is contained in:
committed by
WineHQ
parent
18bb33902e
commit
c545581571
@@ -64,7 +64,8 @@ if($aClean['iPage'])
|
||||
$currentPage = $aClean['iPage'];
|
||||
|
||||
$ItemsPerPage = min($ItemsPerPage,100);
|
||||
$totalPages = ceil(appData::objectGetEntriesCount("all", "screenshot")/$ItemsPerPage);
|
||||
$totalPages = ceil(appData::objectGetEntriesCount("all", false,
|
||||
"screenshot")/$ItemsPerPage);
|
||||
$currentPage = min($currentPage,$totalPages);
|
||||
$offset = (($currentPage-1) * $ItemsPerPage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user