when sorting using <...tal:repeat subsection python:sequence.sort(subsections,(('title','nocase','asc'),))">
 
I get the following error:
 
Module DocumentTemplate.sequence.SortEx, line 134 in nocase
AttributeError: 'NoneType' has no attribute 'lower'
 
When I switch the 'nocase' to 'cmp' the sort defaults to sorting by order of entry or something.
 
Any help would be greatly appreciated.
 
Thanks.
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to