#4926: Ordering in admin listview ignores ordering in admin options
--------------------------------------------+-------------------------------
          Reporter:  Glin <[email protected]>  |         Owner:  nobody            
        
            Status:  reopened               |     Milestone:                    
        
         Component:  django.contrib.admin   |       Version:  SVN               
        
        Resolution:                         |      Keywords:  nfa-someday 
nfa-changelist
             Stage:  Someday/Maybe          |     Has_patch:  1                 
        
        Needs_docs:  0                      |   Needs_tests:  0                 
        
Needs_better_patch:  0                      |  
--------------------------------------------+-------------------------------
Comment (by Mogga <[email protected]>):

 I agree.

 This for me, is most certainly a bug...

 For example, I have a set of teams and each team has a set of players with
 numbers.
 I would like to order them by team and then by number but the following
 does not do that.

 {{{
 ordering=('team','number')
 }}}

 In fact any number of fields are irrelevant given it really only ever
 orders like this:

 {{{
 ordering=('team')
 }}}

 The behavior is just wrong so for me it's a bug, not an enhancement.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4926#comment:19>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to