Posted by dawehner on January 18, 2013 at 11:04pm
8 followers
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | views.module |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | VDC |
Issue Summary
Views had it's own handling of autocompletion for user, though since #1817656: Let user_autocomplete also find the anonymous user. that's not needed anymore.
Comments
#1
Yeah!
#2
New version.
#3
That is a great diff!
#4
+++ b/core/modules/user/lib/Drupal/user/Plugin/views/filter/Name.php@@ -45,7 +45,7 @@ function value_form(&$form, &$form_state) {
+ '#autocomplete_path' => 'user/autocomplete?anonymous=1',
Autocomplete path does not seem to work with that query part.
+++ b/core/modules/views/includes/ajax.inc@@ -279,53 +279,6 @@ function views_ajax_form_wrapper($form_id, &$form_state) {
- // The user enters a comma-separated list of user name. We only autocomplete the last name.
I think user/autocomplete does not support that. Am I missing something?
#5
Mh damnit, you are probably right in both cases ... we will have to figure them out.
#6
Couldn't resist a re-roll now #1817656: Let user_autocomplete also find the anonymous user. is done in a way that'll work!
But considering #2 actually passed maybe we need a test?
#7
RTBC in case it comes back green.
#8
Rock, thanks!
Committed and pushed to 8.x. Thanks!
#9
Automatically closed -- issue fixed for 2 weeks with no activity.