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. as "sort=" doesn't take expressions, i am puzzled on what to do.. Way back in the list-archives, there is mention of a product called Zieve, but i find no reference to it on the zope site. There is also the magic "sort_link" -variable used to do this on Zope.org.. What is it ? An external method ? ------------------------------------------------ Geir B Hansen geirh@funcom.com Web-designer / Graphic artist Funcom Oslo ------------------------------------------------
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 ------------------------------------------------
participants (1)
-
Geir B Hansen