moreresults action: "more" button shows when no more results #489

Open
arjan opened this Issue Dec 19, 2012 · 1 comment

Comments

Projects
None yet
3 participants
Owner

arjan commented Dec 19, 2012

When the number of "more" results is exactly the same as the page size but there are no more results afterwards, there is still a "more" button shown.

To fix this I'd propose retrieving one item more than the page size, and then checking the nr of results retrieved.

@ghost ghost assigned arjan Dec 19, 2012

Owner

mworrell commented Dec 19, 2012

The "page length + 1" is indeed the way to go, we used that method more often.

@ddeboer ddeboer modified the milestones: Release 1.0, Roadmap Jan 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment