at /admin/settings/masquerade the list box to select users for quick switching is truncated to the first 500 to 1000 users rather than all the site users. If this isn't a bug, could this be changed so that the usernames could be entered directly, rather than selected from an incomplete list?

Thanks, Stephen

Comments

hedgefrog’s picture

i agree, i need the full list of usernames too
thanks

deekayen’s picture

Status: Active » Postponed (maintainer needs more info)

Yes, it is truncated to 1000 entries. The offending code is

 $user_list = db_query_range('SELECT name, uid FROM {users} WHERE uid > 0 ORDER BY name ASC', 0, 1000);

How do you imagine the form item for entering usernames directly? A single line of usernames delimited by commas?

Gurpartap Singh’s picture

Version: 5.x-1.3 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

Changed the select list to a comma separated value field, with autocomplete, in 6.x. Needs to be back ported to 5.x

http://drupal.org/cvs?commit=179388

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 26f1ab5 on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by deekayen:
    #392738 - increase sid column to match core sessions table length #...

  • Commit 26f1ab5 on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by deekayen:
    #392738 - increase sid column to match core sessions table length #...