Simple way to alter sort ASC / DESC?
Hi, I have a <dtml-in ... sort=date> which gives the lowest date first. Is there a simple way to reverse this and get the sort in highest date first? Or do I have to get a little more complicated? Thanks in advance.
Andy McKay writes:
Hi,
I have a <dtml-in ... sort=date> which gives the lowest date first. Is there a simple way to reverse this and get the sort in highest date first? Or do I have to get a little more complicated?
Yes. <dtml-in ... sort=date reverse> Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (2)
-
Andy McKay -
Jason Spisak