[Zope] sorting results by time

Dieter Maurer dieter at handshake.de
Sat Oct 11 14:44:24 EDT 2003


Please stay on the list...

Katie Legere wrote at 2003-10-10 16:16 -0400:
 > Can you give me an example? I have tried several things that don't work...
 > Basicalle, without the 'fluff' I have ...
 > 
 > 
 > <!-- Iterate over each File in the folder starting with
 > the newest documents first. -->
 > 
 > <dtml-in expr="objectValues('File')"
 >          sort="bobobase_modification_time" reverse>

	    <dtml-if expr="bobobase_modification_time() > _.ZopeTime()-10">
	    ...
	    </dtml-if>


Dieter



More information about the Zope mailing list