PDA

View Full Version : Need Query: all forums last post descending



Hendrizius
Wed 16th Apr '08, 2:20pm
Which query do I have to use to show the posts in all forums sorted descending by last post?

Thanks.

Jake Bunce
Wed 16th Apr '08, 8:50pm
Run these queries:



UPDATE forum
SET defaultsortorder = 'desc'




UPDATE forum
SET defaultsortfield = 'lastpost'


Then you will need to update your forum info:

Admin CP -> Maintenance -> Update Counters