dtml-in sort variable
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 you cannot abdicate responsibility for your ideology.
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
participants (2)
-
Ethan Fremen -
Jim Washington