[Zope] sort_link

Geir B Hansen geirh@funcom.com
Tue, 26 Oct 1999 19:40:22 +0200


> 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..

------------------------------------------------
          Geir B Hansen
      geirh@funcom.com
Web-designer / Graphic artist
          Funcom Oslo
------------------------------------------------