Opened 16 years ago

Closed 16 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: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


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 16 years ago.

Download all attachments as: .zip

Change History (2)

by Trevor Caira, 16 years ago

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

comment:1 by Malcolm Tredinnick, 16 years ago

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