Commit 24ef1514 authored by merlinofchaos's avatar merlinofchaos

#98492: Recent comments block needed to filter out moderated comments

parent 3a5d9003
......@@ -39,7 +39,7 @@ Views 5.x-1.1-beta-1
o 76601: New 'all files' field to display all files on a node as a single
field
Views --dev
Views 5.x-1.2-beta-1
Bugs fixed:
o 100394: Fix to t() call in 'new comments'.
......@@ -55,9 +55,12 @@ Views --dev
o 98441: Fixed 'optional' setting on exposed filters.
o 100997: Clarified use of $arg in help text
o 100769: Getting book parents didn't require parents to be current
o 98492: Recent comments block needed to filter out moderated comments
New features:
o 99225: CSS generator for views theme wizard
o 88067: theme_view much more useful now.
o 98492: Comment moderation status filter
o 101025: Sort by node type
Views --dev
......@@ -284,6 +284,13 @@ function comment_views_default_views() {
'options' => '',
'value' => '1',
),
array (
'tablename' => 'comments',
'field' => 'status',
'operator' => '=',
'options' => '',
'value' => '0',
),
);
$view->exposed_filter = array (
);
......
......@@ -803,7 +803,6 @@ function views_edit_view($view, $op = '') {
'#maxlength' => 5,
'#description' => t('The number of nodes to display per page. If 0, all nodes will be displayed. If not using a pager, this will be the maximum number of nodes in the list.'),
'#attributes' => NULL,
'#required' => true,
);
$form['page-info']['page_header_fieldset'] = array(
'#type' => 'fieldset',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment