diff --git a/core/modules/aggregator/aggregator.views.inc b/core/modules/aggregator/aggregator.views.inc index dde8e74..5d87034 100644 --- a/core/modules/aggregator/aggregator.views.inc +++ b/core/modules/aggregator/aggregator.views.inc @@ -97,7 +97,7 @@ function aggregator_views_data() { 'title' => t('GUID'), 'help' => t('The guid of the original imported item.'), 'field' => array( - 'id' => 'xss', + 'id' => 'standard', ), 'argument' => array( 'id' => 'string', @@ -115,6 +115,7 @@ function aggregator_views_data() { 'help' => t('The actual content of the imported item.'), 'field' => array( 'id' => 'aggregator_xss', + 'click sortable' => FALSE, ), 'argument' => array( 'id' => 'string', @@ -236,6 +237,7 @@ function aggregator_views_data() { 'help' => t('The description of the aggregator feed.'), 'field' => array( 'id' => 'xss', + 'click sortable' => FALSE, ), 'filter' => array( 'id' => 'string', diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/views/field/Xss.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/views/field/Xss.php index eb20b6f..5b755ff 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/views/field/Xss.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/views/field/Xss.php @@ -23,12 +23,7 @@ class Xss extends XssBase { * {@inheritdoc} */ public function sanitizeValue($value, $type = NULL) { - if ($type == 'xss') { - return aggregator_filter_xss($value); - } - else { - return parent::sanitizeValue($value, $type); - } + return aggregator_filter_xss($value); } }