http://code.djangoproject.com/ticket/11868

I've made an attempt at adding multiple sort columns to the admin
changelist. I'm basically putting this up here as an initial proposal of
what I think would be a good starting point for a UI for multiple column
sorting.

The idea is that each time you click on a header, it toggles between three
states, "ascending", "descending", and "cleared". The order in which
multiple columns are sorted are denoted by a small number next to the
up/down icon. So (for example) to sort by ('last_name', 'first_name'), you
click on the "last name" column, then the "first name" column. To change
that to ('-last_name', 'first_name') you would click once more on the "last
name" column. Clicking "last name" again would set the ordering to just
('first_name').

The original purpose behind creating this patch was to resolve
#4926<http://code.djangoproject.com/ticket/4926>,
which was basically to allow default sorting to use multiple fields.

Anyways,  was hoping you django-jedi could take a look and provide
suggestions.  Any feedback is appreciated!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to