Opened 9 years ago

Closed 9 years ago

#6846 closed (fixed)

first_on_page and last_on_page have wrong values in object_list

Reported by: Trevor Caira Owned by: nobody
Component: Generic views Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


In the template context of django.views.generic.list_detail.object_list, the values of first_on_page and last_on_page are swapped.

Attachments (1)

swap-start-end-indices.diff (774 bytes) - added by Trevor Caira 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Trevor Caira

Attachment: swap-start-end-indices.diff added

comment:1 Changed 9 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [7352]) Fixed #6846 -- Fixed first_on_page and last_on_page in list_detail generic
view. Thanks, trevor.

Note: See TracTickets for help on using tickets.
Back to Top