objectManager, add rejection support. Add support in objectManager for handling rejected

data.
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-24 18:30:16 +00:00
committed by WineHQ
parent 18bb33902e
commit c545581571
16 changed files with 113 additions and 49 deletions

View File

@@ -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);