#29680: Paginate start with last Page
-------------------------------------+-------------------------------------
Reporter: Dario Navin | Owner: Dario
Type: | Navin
Cleanup/optimization | Status: assigned
Component: Generic views | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham):
Say I link to a specific post using a fragment:
https://ubuntuforums.org/showthread.php?t=2015424#post_12095405
If no page number in the query string shows the last page instead of the
first page, then such a link would break once that post drops off the last
page. You'd have the same problem with the `?page=last` approach, I guess.
All in all, `or 1` in the code looks a bit odd to me also, but the
rationale to add a new API to support of style of pagination which I
haven't seen before seems weak. As far as I understand, the links you
provided in comment 4 don't demonstrate the style of pagination you're
requesting (if I remove `?page=` from those links, they all show the first
page).
--
Ticket URL: <https://code.djangoproject.com/ticket/29680#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.14b58a6ca7bcafdb0c19e13208ce6ef2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.