Forums / Setup & design / How to sort?
bill hung
Saturday 16 April 2005 12:23:00 am
Dear all, how to sort a class according to the modified date of it's sub-class? e.g.
I build 3 class for my forum--"forum", "topic" and "reply", I hope sort <b>topic</b> according to the latest modified date of <b>reply</b>.
thanks.
Eivind Marienborg
Saturday 16 April 2005 12:32:33 am
sort_by, array( 'modified_subnode', false() )
I think this is what you're looking for :)
Sunday 17 April 2005 7:52:58 pm
Thanks very much!
the problem was solved
best regards!