21 Jun
2000
21 Jun
'00
8:27 p.m.
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