Re: bug in DB_Pager

From: Date: Mon, 02 Jun 2003 08:11:06 +0000
Subject: Re: bug in DB_Pager
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16885@lists.php.net to get a copy of this message
If nobody protests I will submit this as a bug : Demian Turner wrote:
Just wanted to check if anyone else had this problem using the lastest version of DB_Pager, I believe it may be a bug. In the following scenario: total num rows = 111 res per page = 10 max pages = 10 the fourth arugument in the getData method, $maxpage, does not appear to work as expected in that if you specify 10 you get only 5 'frames' of results. By the time you get to the 6th frame, the paging works as expected, but begins reducing again as you approach the end of the resultset. The other paging class, Pager, works as expected in this respect. cheers Demian


« previous php.pear.dev (#16885) next »