sort_components should use title, not class name
Bug #226116 reported by
Wichert Akkerman
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.
Changed in grok: | |
assignee: | nobody → janwijbrand |
milestone: | none → 1.0 |
To post a comment you must log in.
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