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
|