Bug #3637 [Opn->Csd]: Error in Pager/Pager_Wrapper (DBDO) means it doesn't page
| From: | l dot alberton at quipo dot it | Date: | Mon, 28 Feb 2005 19:29:11 +0000 |
| Subject: | Bug #3637 [Opn->Csd]: Error in Pager/Pager_Wrapper (DBDO) means it doesn't page | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-5593@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=3637&edit=1
ID: 3637
Updated by: l.alberton@quipo.it
Reported By: lee dot bolding at richemont dot com
-Status: Open
+Status: Closed
Type: Bug
Package: Documentation
Operating System: Solaris
PHP Version: 4.3.2
-Assigned To:
+Assigned To: quipo
New Comment:
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2005-02-28 10:13:48] lee dot bolding at richemont dot com
forgot to mention this is in the Pager package
------------------------------------------------------------------------
[2005-02-28 10:10:18] lee dot bolding at richemont dot com
Description:
------------
This line:
$db->limit($page['from'] - 1, $pagerOpt['perPage']);
in Pager_Wrapper.php is wrong - it refers to a non existent options
array. It should read :
$db->limit($page['from'] - 1, $pager_options['perPage']);
Without this change the poager will always return all results from a
query, without paging
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=3637&edit=1