Opened 19 years ago

Closed 19 years ago

#2234 closed enhancement (duplicate)

Add support for multiple-field ordering to the admin interface

Reported by: hpxchan@… Owned by: Adrian Holovaty
Component: contrib.admin Version: dev
Severity: normal Keywords: admin order ordering
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It appears the admin interface can only order by one column at a time (I'm using Django from SVN trunk as of 20060625). However, the models API supports ordering by multiple fields with the "ordering" attribute of class Meta. It would be of tremendous help to me (and, I imagine, at least one or two other people in this world) if the admin interface could support ordering by multiple fields as well.

I wrote a Django-like (but much less robust) admin interface, with support for multiple-field ordering, for an application of mine in Ruby on Rails. Accordingly, I can provide ideas for the interface and logic, and I might even be able to contribute to development directly (with code). (however, I'm sure there are many other implementations superior to mine)

If support for this already exists or is already underway, please forgive me - I don't have significant experience with Django by any means. If this feature is not already being worked on, is it a possibility?

Either way, thanks for the excellent web framework! :-)

  • Chandler May

Change History (1)

comment:1 by hpxchan@…, 19 years ago

Resolution: duplicate
Status: newclosed

Eep, I see there is already a ticket for this (http://code.djangoproject.com/ticket/389). I just happened to find the browse-tickets-by-milestone area *after* I submitted... sorry.

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