diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 08c875794..645dc83a3 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -18,6 +18,7 @@ - fixed: Form CheckList select all button now functions properly - fixed: Gallery slideshow JS now has better control over the buttons - fixed: The bug enigmatically named "product". + - fixed: CS Thread sort on last post reply is now working correctly. 7.5.19 - fixed: paginator doesn't show correct number of page links with a limit applied diff --git a/lib/WebGUI/Asset/Post.pm b/lib/WebGUI/Asset/Post.pm index 92bd5eecd..e5a44de3d 100644 --- a/lib/WebGUI/Asset/Post.pm +++ b/lib/WebGUI/Asset/Post.pm @@ -170,7 +170,7 @@ sub commit { my $u = WebGUI::User->new($self->session, $self->get("ownerUserId")); $u->karma($self->getThread->getParent->get("karmaPerPost"), $self->getId, "Collaboration post"); } - $self->getThread->incrementReplies($self->get("revisionDate"),$self->getId) if ($self->isReply); + $self->getThread->incrementReplies($self->get("revisionDate"),$self->getId);# if ($self->isReply); } }