Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Corrects firstItemCount for empty result sets #6809

Closed

Conversation

davidomelettes
Copy link

Fix for issue #6808

@samsonasik
Copy link
Contributor

I think it's a BC break.

@Ocramius
Copy link
Member

@samsonasik can you clarify on why it would be a BC break?

@samsonasik
Copy link
Contributor

because old behaviour that show "page 1" when the count data is < item per page. the old application that uses it show the pagination with page that only 1, with the link is disabled. so, changing it should be merged to develop imo.

Ocramius added a commit that referenced this pull request Dec 5, 2014
Ocramius added a commit that referenced this pull request Dec 5, 2014
Ocramius added a commit that referenced this pull request Dec 5, 2014
@Ocramius
Copy link
Member

Ocramius commented Dec 5, 2014

@davidomelettes manually merged into develop at a6a4fe6, thanks!

@Ocramius Ocramius closed this Dec 5, 2014
@Ocramius Ocramius added this to the 2.4.0 milestone Dec 5, 2014
gianarb pushed a commit to zendframework/zend-paginator that referenced this pull request May 15, 2015
…dding missing `@group` annotations for newly introduced test cases
gianarb pushed a commit to zendframework/zend-paginator that referenced this pull request May 15, 2015
…void multiple internal calls to methods when values are already cached in `$pages`
gianarb pushed a commit to zendframework/zend-paginator that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants