#6904: Dictsort filter should sort case insensitive
---------------------------------------------+------------------------------
          Reporter:  [email protected]  |         Owner:  nobody
            Status:  new                     |     Milestone:        
         Component:  Template system         |       Version:  SVN   
        Resolution:                          |      Keywords:        
             Stage:  Design decision needed  |     Has_patch:  1     
        Needs_docs:  1                       |   Needs_tests:  0     
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Comment (by wayla):

 Replying to [comment:7 mathwizard]:
 > you don't expect, that items beginning with small letter 'a' will be
 somewhere down the list instead of being at the top.

 Not necessarily. For example *nix file systems are case sensitive and if I
 am displaying a dict of files and directories (simulating a desktop file
 list), then they should be sorted case sensitive - the way the filter
 works now.

 The point is, there is a use case for both types of sorting. Perhaps a new
 separate filter should be created to do case incentive sorting or a switch
 could be provided for the existing filter to turn case-insensitive sorting
 on and off. However, changing the default behavior of the existing filter
 is a bad idea. It could create some unexpected (an undesirable) results
 for existing sites when they update to the latest version of Django.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6904#comment:8>
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