summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2011-12-27 18:45:14 (GMT)
committer Daniel Wehner2011-12-27 18:45:14 (GMT)
commit511935f44b77196d936c2f66d7e19ebfc4ae9a89 (patch)
tree46da7233909e5b1ad44f28d2ebbd2507c9ebd12e
parentd06ebe66585f0b2d8a11122ff712dbf65edf7792 (diff)
#1386372 by webflo: reexport tracker view
-rw-r--r--modules/comment.views_default.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/comment.views_default.inc b/modules/comment.views_default.inc
index 5a4587c..44ebac9 100644
--- a/modules/comment.views_default.inc
+++ b/modules/comment.views_default.inc
@@ -182,6 +182,10 @@ function comment_views_default_views() {
);
$handler->display->display_options['style_options']['override'] = 1;
$handler->display->display_options['style_options']['order'] = 'desc';
+ /* Relationship: Content: Author */
+ $handler->display->display_options['relationships']['uid']['id'] = 'uid';
+ $handler->display->display_options['relationships']['uid']['table'] = 'node';
+ $handler->display->display_options['relationships']['uid']['field'] = 'uid';
/* Field: Content: Type */
$handler->display->display_options['fields']['type']['id'] = 'type';
$handler->display->display_options['fields']['type']['table'] = 'node';
@@ -194,6 +198,7 @@ function comment_views_default_views() {
$handler->display->display_options['fields']['name']['id'] = 'name';
$handler->display->display_options['fields']['name']['table'] = 'users';
$handler->display->display_options['fields']['name']['field'] = 'name';
+ $handler->display->display_options['fields']['name']['relationship'] = 'uid';
$handler->display->display_options['fields']['name']['label'] = 'Author';
/* Field: Content: Comment count */
$handler->display->display_options['fields']['comment_count']['id'] = 'comment_count';