From 97010b178caca376faf3855f2bc648601fb1f865 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Thu, 12 May 2005 21:28:16 +0000 Subject: [PATCH] - fix [ 1197781 ] Collaboration: sorting bug in sub_view FIXED! --- lib/WebGUI/Asset/Wobject/Collaboration.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Wobject/Collaboration.pm b/lib/WebGUI/Asset/Wobject/Collaboration.pm index d9be16040..a4a338ec2 100644 --- a/lib/WebGUI/Asset/Wobject/Collaboration.pm +++ b/lib/WebGUI/Asset/Wobject/Collaboration.pm @@ -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);