appdb/include objectManager.php

WineHQ wineowner at wine.codeweavers.com
Sat Jun 16 12:00:58 CDT 2007


ChangeSet ID:	31212
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/06/16 12:00:58

Modified files:
	include        : objectManager.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	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

Patch: http://cvs.winehq.org/patch.py?id=31212

Old revision  New revision  Changes     Path
 1.30          1.31          +1 -0       appdb/include/objectManager.php

Index: appdb/include/objectManager.php
diff -u -p appdb/include/objectManager.php:1.30 appdb/include/objectManager.php:1.31
--- appdb/include/objectManager.php:1.30	16 Jun 2007 17: 0:58 -0000
+++ appdb/include/objectManager.php	16 Jun 2007 17: 0:58 -0000
@@ -689,6 +689,7 @@ class ObjectManager
         /* Fill the MultiPage object with the LIMIT related values */
         $iLowerLimit = ($iPage - 1) * $iItemsPerPage;
         $this->oMultiPage->MultiPage(TRUE, $iItemsPerPage, $iLowerLimit);
+        $this->oMultiPage->iPage = $iPage;
     }
 
     function getQueueString($bQueued, $bRejected)



More information about the wine-cvs mailing list