fix CS sorting by rating
This commit is contained in:
parent
1b93bc56b8
commit
40d1751913
2 changed files with 5 additions and 0 deletions
|
|
@ -938,6 +938,10 @@ sub getThreadsPaginator {
|
|||
}
|
||||
$sortBy ||= "dateUpdated";
|
||||
$sortOrder ||= "desc";
|
||||
# Sort by the thread rating instead of the post rating. other places don't care about threads.
|
||||
if ($sortBy eq 'rating') {
|
||||
$sortBy = 'threadRating';
|
||||
}
|
||||
|
||||
my $sql = "
|
||||
select
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue