Opened 18 years ago
Closed 18 years ago
#2870 closed enhancement (invalid)
contrib.admin change_list reorders queryset
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The admin change_list orders the list by PK DESC in the absence of any other ordering directives. Why bother? Doing this overrides, for instance, any ordering that a custom default manager introduces.
The attached patch (somewhat heavy-handedly) leaves the manager's ordering in place if there is no other ordering found.
Attachments (1)
Change History (2)
by , 18 years ago
Attachment: | order.patch added |
---|
comment:1 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
This patch screws up regular single-column sorting in the Admin interface. Chuck it.
Note:
See TracTickets
for help on using tickets.
patch