From 4f76cde461c9c0709cd35bf05500d9e569e4e97c Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Tue, 16 Feb 2016 13:01:25 +0900 Subject: [PATCH] Issue #2669010 by Lendude: Views User ID filter title and description are very confusing --- core/modules/user/src/UserViewsData.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/user/src/UserViewsData.php b/core/modules/user/src/UserViewsData.php index 7478661f3c0..e31e5c59cd4 100644 --- a/core/modules/user/src/UserViewsData.php +++ b/core/modules/user/src/UserViewsData.php @@ -32,7 +32,8 @@ class UserViewsData extends EntityViewsData { 'empty field name' => \Drupal::config('user.settings')->get('anonymous'), ); $data['users_field_data']['uid']['filter']['id'] = 'user_name'; - $data['users_field_data']['uid']['filter']['title'] = $this->t('Name'); + $data['users_field_data']['uid']['filter']['title'] = $this->t('Name (autocomplete)'); + $data['users_field_data']['uid']['filter']['help'] = $this->t('The user or author name. Uses an autocomplete widget to find a user name, the actual filter uses the resulting user ID.'); $data['users_field_data']['uid']['relationship'] = array( 'title' => $this->t('Content authored'), 'help' => $this->t('Relate content to the user who created it. This relationship will create one record for each content item created by the user.'),