[Zope] Sorting when using uniqueValuesFor

Anders Holmbech Nielsen ahn@integrator.dk
Fri, 7 Apr 2000 15:10:37 +0200


Hi,

I have the following search in my zcatalog getting the unique values. 
But I would like to have them sorted as well. Is this possible ??

This one..
<dtml-in "artikler.artikel_catalog.uniqueValuesFor('kategorier')" 
sort=kategorier reverse>

just results in the error:
Error Type: AttributeError
Error Value: 'string' object has no attribute 'kategorier'

Regards

-------------------------------------------------
Anders Holmbech Nielsen | Tlf:  (+45) 70 22 56 00
Software Engineer       | Fax:  (+45) 70 22 57 00
Integrator Uniware A/S  | http:/www.integrator.dk