Index: modules/views_comment.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/views_comment.inc,v retrieving revision 1.2 diff -u -F^f -r1.2 views_comment.inc --- modules/views_comment.inc 13 May 2006 22:00:01 -0000 1.2 +++ modules/views_comment.inc 20 Jun 2006 19:23:50 -0000 @@ -37,7 +37,7 @@ function comment_views_tables() { 'name' => t('Comment: Last Comment Time'), 'sortable' => true, 'handler' => views_handler_field_dates(), - 'option' => string, + 'option' => 'string', 'help' => t('This will display the last comment time.'), ), 'last_comment_name' => array( @@ -58,12 +58,20 @@ function comment_views_tables() { 'help' => t('This will display the comment count.'), ), ), + 'filters' => array( + 'comment_count' => array( + 'name' => t('Node: Comment Count'), + 'operator' => 'views_handler_operator_gtlt', + 'option' => 'integer', + 'help' => t('This filter allows you to filter by the amount of comments.'), + ), + ), 'sorts' => array( 'last_comment_timestamp' => array( 'name' => t('Comment: Last Comment Date'), 'help' => t('This will allow you to sort by the date of the most recent comment on a node.') - ) - ) + ), + ), ); return $tables; }