Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit 877d5c7

Browse files
committed
Merge pull request #4495 from angaither/who-even-cares-about-new-content
Kill 'has new content' check box in content search
2 parents 7347459 + 1cf9b65 commit 877d5c7

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

lib/modules/dosomething/dosomething_user/dosomething_user.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ features[views_view][] = content_search
125125
features[views_view][] = user_search
126126
files[] = dosomething_user.test
127127
files[] = includes/dosomething_user_remote.inc
128-
mtime = 1417031986
128+
mtime = 1424716962

lib/modules/dosomething/dosomething_user/dosomething_user.views_default.inc

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -200,22 +200,6 @@ function dosomething_user_views_default_views() {
200200
9 => 0,
201201
10 => 0,
202202
);
203-
/* Filter criterion: Content: Has new content */
204-
$handler->display->display_options['filters']['timestamp']['id'] = 'timestamp';
205-
$handler->display->display_options['filters']['timestamp']['table'] = 'history';
206-
$handler->display->display_options['filters']['timestamp']['field'] = 'timestamp';
207-
$handler->display->display_options['filters']['timestamp']['group'] = 1;
208-
$handler->display->display_options['filters']['timestamp']['exposed'] = TRUE;
209-
$handler->display->display_options['filters']['timestamp']['expose']['operator_id'] = '';
210-
$handler->display->display_options['filters']['timestamp']['expose']['label'] = 'Has new content';
211-
$handler->display->display_options['filters']['timestamp']['expose']['operator'] = 'timestamp_op';
212-
$handler->display->display_options['filters']['timestamp']['expose']['identifier'] = 'timestamp';
213-
$handler->display->display_options['filters']['timestamp']['expose']['remember_roles'] = array(
214-
2 => 0,
215-
3 => '3',
216-
4 => '4',
217-
1 => 0,
218-
);
219203

220204
/* Display: Page */
221205
$handler = $view->new_display('page', 'Page', 'page_1');
@@ -250,7 +234,6 @@ function dosomething_user_views_default_views() {
250234
t('Updated date'),
251235
t('Published'),
252236
t('Cause (field_cause)'),
253-
t('Has new content'),
254237
t('Page'),
255238
);
256239
$export['content_search'] = $view;

0 commit comments

Comments
 (0)