#7094 closed (fixed)
Ordering in the admin has no effect after [7477]
| Reported by: | Brian Rosner | Owned by: | nobody | 
|---|---|---|---|
| Component: | contrib.admin | Version: | newforms-admin | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
After doing a merge from trunk I have noticed that ordering in ChangeList is not taking affect. I have used pdb to determine that the correct data is being passed into order_by on the queryset, but not sure what is tripping it up. Creating a ticket so this issue is not lost and so that others are aware and may find a solution before me.
Change History (4)
comment:1 by , 18 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
comment:2 by , 18 years ago
comment:3 by , 18 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
comment:4 by , 18 years ago
ModelAdmin.queryset was passing no parameters to order_by which caused any future ordering to not happen.
  Note:
 See   TracTickets
 for help on using tickets.
    
I am beginning to wonder if this was some odd merge problem that svnmerge did automatically somehow. It does work as expected in trunk's admin. The only differences between
ChangeListin trunk and in newforms-admin is the API calls it needs to get to options for the admin interface for the model. Hopefully this information is useful to someone else if they look into this.