From ea6b82f1303f86e5b62ea23985cc47cea5454f9b Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 5 Jul 2011 11:06:37 -0400 Subject: Bug 658929 - User autocomplete is very slow when there are lots of users in the profiles table r/a=mkanat --- editusers.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editusers.cgi') diff --git a/editusers.cgi b/editusers.cgi index ad70e08a8..2efdd01c8 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -77,7 +77,7 @@ if ($action eq 'search') { my $matchstr = $cgi->param('matchstr'); my $matchtype = $cgi->param('matchtype'); my $grouprestrict = $cgi->param('grouprestrict') || '0'; - my $query = 'SELECT DISTINCT userid, login_name, realname, disabledtext ' . + my $query = 'SELECT DISTINCT userid, login_name, realname, is_enabled ' . 'FROM profiles'; my @bindValues; my $nextCondition; -- cgit v1.2.3-24-g4f1b