Opened 18 years ago
Closed 18 years ago
#2870 closed enhancement (invalid)
contrib.admin change_list reorders queryset
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.
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