-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pagination: buggy first/previous/next/last logic #668
Comments
I think, the 6th page disappearing is a bug we need to fix (bug) As for the "I am on second page", we should keep showing the <<, not really a big deal nor something we should again weight our preference I feel. Others are good as you said |
Some thoughts because obvious always win:
|
Ok let's fix the obvious bug then :) |
Ok, let's keep this issue focused on the 6th page bug then. We'll have to discuss a bit more to see how we want to tackle the other pagination UI questions |
Pull request is here : #675 |
fix(pagination): fix #668 edge case
<a name="1.1.0-beta"></a> # [1.1.0-beta](v1.0.0...v1.1.0-beta) (2015-11-25) ### Bug Fixes * **pagination:** fix #668 edge case ([d8f1196](d8f1196)), closes [#668](#668) * **priceRanges:** Remove round from first range ([bf82395](bf82395)) * **starRating:** Retrieve the correct count and use numericRefinement ([f00ce38](f00ce38)), closes [#615](#615) ### Features * **hierarchical:** expose rootPath and showParentLevel ([6e9bb7c](6e9bb7c))
<a name="1.1.0"></a> # [1.1.0](v1.0.0...v1.1.0) (2015-11-26) ### Bug Fixes * **pagination:** fix #668 edge case ([d8f1196](d8f1196)), closes [#668](#668) * **priceRanges:** Remove round from first range ([bf82395](bf82395)) * **slider:** hide the slider when stats.min=stats.max ([42e4b64](42e4b64)) * **starRating:** Retrieve the correct count and use numericRefinement ([f00ce38](f00ce38)), closes [#615](#615) ### Features * **hierarchical:** expose rootPath and showParentLevel ([6e9bb7c](6e9bb7c))
I feel like the logic used to hide/show the various previous/first/next/last links is buggy. Here are some screenshots:
^ I'm on the first page, everything is alright.
^ I'm on the second page, I don't think the "<<" (first page) link is needed (redundant with "<" previous)
^ 4th page, everything is alright
^ 5th page, oops the 6th page link disappeared. And I have both next and last (last might be useless here, and related to #594)
The text was updated successfully, but these errors were encountered: