Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I have usernames w/ spaces working on a testing site. What I did notice is if there are more than 30 users the pull-down list turns into just a text field where you enter the username, and it seems to not work. I bumped this up to 500 on a site w/ 300+ users and the pulldown menu re-appeared and works.
Usernames with spaces not supported in Advanced Search
» Use autocomplete for Usernames in Advanced Search
as a short term fix, i changed the code to show a dropdown for all sites with less than 1000 users. I will commit that shortly ... the right fix for HEAD and future versions of Drupal is to swap this field with the new form_autocomplete() stuff. Changed title accordingly.
Comments
Comment #1
Ian Ward commentedI have usernames w/ spaces working on a testing site. What I did notice is if there are more than 30 users the pull-down list turns into just a text field where you enter the username, and it seems to not work. I bumped this up to 500 on a site w/ 300+ users and the pulldown menu re-appeared and works.
Comment #2
moshe weitzman commentedas a short term fix, i changed the code to show a dropdown for all sites with less than 1000 users. I will commit that shortly ... the right fix for HEAD and future versions of Drupal is to swap this field with the new form_autocomplete() stuff. Changed title accordingly.
Comment #3
mindless commentednow using textfield with autocomplete for username.
Comment #4
(not verified) commented