Export comment.hostname.

From: damz <damz@damz-dev.local>


---
 comment.views.inc |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git modules/comment.views.inc modules/comment.views.inc
index b4fe00f..6e35081 100644
--- modules/comment.views.inc
+++ modules/comment.views.inc
@@ -128,6 +128,25 @@ function comment_views_data() {
     ),
   );
 
+  // hostname
+  $data['comments']['hostname'] = array(
+    'title' => t('Hostname'),
+    'help' => t('Hostname of user that posted the comment.'),
+    'field' => array(
+      'handler' => 'views_handler_field',
+      'click sortable' => TRUE,
+     ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_string',
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+    'argument' => array(
+      'handler' => 'views_handler_argument_string',
+    ),
+  );
+
   // timestamp (when comment was posted)
   $data['comments']['timestamp'] = array(
     'title' => t('Post date'),
