-----Original Message----- From: Geir B Hansen [mailto:geirh@funcom.com] Sent: Tuesday, October 26, 1999 1:40 PM To: zope@zope.org Subject: Re: [Zope] sort_link
I'd like to make a list of items returned by Zcatalog sortable by different criteria, like the how-tos on zope.org.. The user should be able to click on a headline, and the returns will be sorted by that variable.
ahh.. found out myself... i think..
making zope append ?sort_on=variablename to the URL, makes something happen, and so it seems i am heading in the right direction, - although i get an error :
Error Type: AttributeError Error Value: 'tuple' object has no attribute 'intersection'
The variables i try to sort by are all strings..
You cannot sort on a text index, only a field index. Is this what your doing? Also, when reporting an error, the traceback is very useful. Otherwise I'm just guessing. -Michel