- fix [ 1197781 ] Collaboration: sorting bug in sub_view FIXED!
This commit is contained in:
parent
3abef2feb1
commit
97010b178c
1 changed files with 1 additions and 1 deletions
|
|
@ -882,7 +882,7 @@ sub view {
|
|||
left join asset on Thread.assetId=asset.assetId
|
||||
left join Post on Post.assetId=asset.assetId
|
||||
where asset.parentId=".quote($self->getId)." and asset.state='published' and asset.className='WebGUI::Asset::Post::Thread' and $constraints
|
||||
order by Thread.isLocked desc, ".$sortBy." ".$sortOrder;
|
||||
order by Thread.isSticky desc, ".$sortBy." ".$sortOrder;
|
||||
my $p = WebGUI::Paginator->new($self->getUrl,$self->get("threadsPerPage"));
|
||||
$self->appendPostListTemplateVars(\%var, $sql, $p);
|
||||
$self->appendTemplateLabels(\%var);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue