Opened 17 years ago

Closed 17 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

Description

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

Download all attachments as: .zip

Change History (2)

by Trevor Caira, 17 years ago

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

comment:1 by Malcolm Tredinnick, 17 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