Yes, there's a ticket for it.
-Matt

On Mon, Jun 8, 2009 at 6:17 AM, umpirsky <umpir...@gmail.com> wrote:

>
> Hi.
>
> I noticed that there is some problem with this adapter.
>
> Code:
>
> $paginator = new Zend_Paginator(new Zend_Paginator_Adapter_Null(46));
> $paginator->setCurrentPageNumber($page);
> $paginator->setItemCountPerPage(10);
>
> Zend_View_Helper_PaginationControl::setDefaultViewPartial('paginator.phtml');
>
> So, I have 46 items. The problem is, when I'm on the last page, it says :
>
> 'Displaying 10 of 46' instead 'Displaying 6 of 46'. Because
> ["lastItemNumber"] => int(50)
> and  ["currentItemCount"] => int(10), so, this is some bug probably.
>
> Anyone with same problem?
>
> Regards,
> Sasa Stamenkovic.
> --
> View this message in context:
> http://www.nabble.com/Zend_Paginator-and-Zend_Paginator_Adapter_Null-tp23923917p23923917.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to