sort_components should use title, not class name

Bug #226116 reported by Wichert Akkerman
2
Affects Status Importance Assigned to Milestone
grok
Invalid
Undecided
Jan Wijbrand Kolman
1.0
Invalid
Undecided
Jan Wijbrand Kolman
1.1
New
Medium
Unassigned

Bug Description

Sorting should be done based on what humans see, which is the title, not the class name. The proper order for sort keys is:

- grok.order() determined sort key. Perhaps this should be renamed to grok.sortorder() since the word 'order' also has other meanings that may confuse people.
- grok.title(). If the title is translatable this has to use the translated title!
- class name.

Revision history for this message
Christian Theune (ctheune) wrote : Re: [Bug 226116] [NEW] sort_components should use title, not class name

On Sat, May 03, 2008 at 12:16:09PM -0000, Wichert Akkerman wrote:
> Public bug reported:
>
> Sorting should be done based on what humans see, which is the title, not
> the class name. The proper order for sort keys is:
>
> - grok.order() determined sort key. Perhaps this should be renamed to grok.sortorder() since the word 'order' also has other meanings that may confuse people.
> - grok.title(). If the title is translatable this has to use the translated title!

And the correct locale's collation.

--
gocept gmbh & co. kg - forsterstrasse 29 - 06112 halle (saale) - germany
www.gocept.com - <email address hidden> - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development

todd (todd-infrae)
Changed in grok:
assignee: nobody → janwijbrand
milestone: none → 1.0
Revision history for this message
Jan Wijbrand Kolman (janwijbrand) wrote :

I'm postponing this issue until 1.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.