Opened 7 years ago

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

Change History (2)

comment:1 Changed 7 years ago by makovick

Cc: makovick added

comment:2 Changed 7 years ago by Julien Phalip

Resolution: duplicate
Status: newclosed

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.

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