fix CS sorting by rating
This commit is contained in:
parent
1b93bc56b8
commit
40d1751913
2 changed files with 5 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
- fix: Data Form tab delimited export doesn't obey field order
|
||||
- fix: Extra <a> tags inserted when viewing only Wiki page
|
||||
- fix: incorrect links generated for Event related links
|
||||
- fix: Sort Collaboration System threads correctly by rating
|
||||
|
||||
7.4.6
|
||||
- Prevent Help index from trying to link to non-existant documentation
|
||||
|
|
|
|||
|
|
@ -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