Opened 3 years ago

Closed 3 years ago

#16947 closed Bug (duplicate)

wrong ordering of a column with list_editable

Reported by: anonymous Owned by: nobody
Component: contrib.admin Version: master
Severity: Normal Keywords:
Cc: makovick Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When there are no ordering options specified in the request, the column with list_editable still behaves as if the table were sorted by the primary key. This causes the editable items being displayed in the wrong rows.

Tested with SQLite. A simple testcase is here:

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by makovick

  • Cc makovick added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 3 years ago by julien

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

Thanks for the report. I think this is essentially the same issue as in #16819, so I'm closing this one as duplicate. The point is that some default ordering (probably by primary key) should systematically be enforced in the changelist.

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.