Opened 6 years ago

Closed 6 years ago

#6846 closed (fixed)

first_on_page and last_on_page have wrong values in object_list

Reported by: trevor 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 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by trevor

comment:1 Changed 6 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.