bugfixes and preparing for 6.2.3 release

This commit is contained in:
JT Smith 2004-09-16 20:36:17 +00:00
parent 1713df81c6
commit eeecbe8afb
10 changed files with 47 additions and 18 deletions

View file

@ -1011,7 +1011,7 @@ sub getForumTemplateVars {
$var{'thread.sorted.'.$sortDir} = 1;
if ($session{scratch}{forumSortBy} eq "date") {
$var{'thread.sortedby.date'} = 1;
$query .= "rootPostId $sortDir";
$query .= "lastPostDate $sortDir";
} elsif ($session{scratch}{forumSortBy} eq "views") {
$var{'thread.sortedby.views'} = 1;
$query .= "views $sortDir";