Bug reports Found a bug? Post it here please.
Version 4.x > Bug reports > ForumRecentlyActiveThreads sorting on wrong field? View modes: 
User avatar
Member
Member
Steve-Appetere - 8/10/2009 7:39:00 AM
   
ForumRecentlyActiveThreads sorting on wrong field?
Hello

The query behind the ForumRecentlyActiveThreads WebPart appears to be sorting on the wrong field.

It is currently using "ORDER BY PostTime DESC". This means the query displays the threads which were created first, not those with the most recent posts (since the query also has a where clause, "PostLevel = 0").

To display the threads with the most recently added threads, the sort should be on "ForumLastPostTime".

For now, I have changed the sort field in the code behind for the WebPart (around line 216), but would be good if this could be corrected.

Thanks

Steve

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 8/11/2009 3:27:10 PM
   
RE:ForumRecentlyActiveThreads sorting on wrong field?
Hi Steve,
thanks for the information I have already passed this bug to our developers and it's fixed in new version 4.1. Thanks for your help.
Best Regards,
Zbysek Nemec.