Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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 Brian Rosner, 16 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Brian Rosner, 16 years ago

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 ChangeList in 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.

comment:3 by Brian Rosner, 16 years ago

Resolution: fixed
Status: newclosed

(In [7481]) newforms-admin: Fixed #7094 -- Fixed admin ordering breakage after the queryset-refactor changes from trunk.

comment:4 by Brian Rosner, 16 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.
Back to Top