[Zope] dtml-in sort variable
Jim Washington
jwashin@vt.edu
Fri, 10 Dec 1999 22:37:56 +0000
Hi, Ethan
try:
<dtml-in "objectItems('DTML Document')" size=4 orphan=0
sort=bobobase_modification_time reverse>
<p><dtml-var id></p>
</dtml-in>
Regards,
-- Jim Washington
Ethan Fremen wrote:
>
> I'm trying to display a list of the 4 most recenty modified items in a
> folder.
>
> Silly me thought that
>
> <dtml-in expr="objectValues(['DTML Document')]"
> sort=bobobase_modification_time>
>
> would have done the trick, but noooo, this shows me the 4 _oldest_ items
> in a folder.
>
> Any clue as to how I can turn this around?
>
> Thanks much
> --
> Ethan "mindlace" Fremen