Anahide Tchertchian schrieb:

The CPSDefault.utils method cannot be called like that from a page
template: you're in fact calling the
CPSDefault/skins/cps_default/filterContents.py script, which probably
does a similar thing, but does not take the same parameters.
If you'd like to use the utils one, you should do:
tal:define="
  filterContents nocall:modules/Products.CPSDefault.utils/filterContents;
  items python:filterContents(context, context.contentValues(),
sort_on='id')"

What  is then the recommendet way to get the contentValues ordered by id?

--
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to