From f2cacdf4ac41e4af43854f112c64919f103cc555 Mon Sep 17 00:00:00 2001 From: Kaleb Murphy Date: Wed, 13 Aug 2008 16:09:51 +0000 Subject: [PATCH] CS Thread sort on last post reply is now working correctly. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Post.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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); } }