Zoper writes:
 > ..., however I would like to sort on different key by different paramenter...
 > 
 > something like  "... sort=REQUEST['sort_by'] ..." (doesn't work)
 > where sort_by from URL parameter maybe "id", "title", "getSize" or 
 >"bobobase_modification_time", etc...
This is a known weakness.

AFAIK, there is currently no way to treat values for "sort" as
expressions.
You may try, 

        ... sort="REQUEST['sort_by']" ...

(note the "..."!), but it will probably not work.


It, obviously, is useful, but I believe nobody has implemented
it yet.



Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to