From 65c687a23702d69b9079fa38bc50e5659daaf909 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sun, 22 Jul 2012 13:32:01 +1200 Subject: [PATCH] FIX: use moderated status, needs moderation flag has been removed. --- code/CommentAdmin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/CommentAdmin.php b/code/CommentAdmin.php index fb64c80..5a31b94 100644 --- a/code/CommentAdmin.php +++ b/code/CommentAdmin.php @@ -52,14 +52,14 @@ class CommentAdmin extends LeftAndMain { $needs = new GridField( 'Comments', _t('CommentsAdmin.NeedsModeration', 'Needs Moderation'), - Comment::get()->where('NeedsModeration = 1'), + Comment::get()->where('Moderated = 0'), $commentsConfig ); $moderated = new GridField( 'CommentsModerated', _t('CommentsAdmin.CommentsModerated'), - Comment::get()->where('NeedsModeration = 0'), + Comment::get()->where('Moderated = 1'), $commentsConfig );