Issues

ZF-7287: Paginator doesn't use "_defaultItemCountPerPage" and show all items instead of only _itemCountPerPage

Issue Type: Bug Created: 2009-07-15T04:53:39.000+0000 Last Updated: 2009-07-31T21:14:01.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Adam Kusmierz (raistlin) Assignee: Jurrien Stutterheim (norm2782) Tags: - Zend_Paginator

Related issues: Attachments: - paginator.patch

Description

This is another bug, which isn't properly fixed at ZF-7207. I think this error is created by ZF-5785.

Paginator doesn't use "_defaultItemCountPerPage" and show all items instead of only _itemCountPerPage, if I don't set $paginator->setItemCountPerPage($number);

To fix this bug, you should replace all $this->_itemCountPerPage to $this->getItemCountPerPage(), as I said in ZF-7207.

Comments

Posted by Adam Kusmierz (raistlin) on 2009-07-15T04:54:11.000+0000

The attachment should fix this bug.

Posted by Jurrien Stutterheim (norm2782) on 2009-07-19T00:21:55.000+0000

Resolved in r16843 and merged to release-1.8 in r16844

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts