fixed issue with getSortOrder and rating
This commit is contained in:
parent
cbe138d16e
commit
1de7439056
1 changed files with 4 additions and 0 deletions
|
|
@ -950,6 +950,10 @@ sub getSortBy {
|
|||
my $self = shift;
|
||||
my $scratchSortBy = $self->getId."_sortBy";
|
||||
my $sortBy = $self->session->scratch->get($scratchSortBy) || $self->getValue("sortBy");
|
||||
# XXX: This should be fixed in an upgrade and in the definition, NOT HERE
|
||||
if ( $sortBy eq "rating" ) {
|
||||
$sortBy = "threadRating";
|
||||
}
|
||||
return $sortBy;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue