summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-07-05 17:06:37 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-07-05 17:06:37 +0200
commitea6b82f1303f86e5b62ea23985cc47cea5454f9b (patch)
treea548590aa11314ed2715f10f9394947fb7aea3ab /editusers.cgi
parente658f6a3e6af7bbcc68d235a58f2294a47074ab6 (diff)
downloadbugzilla-ea6b82f1303f86e5b62ea23985cc47cea5454f9b.tar.gz
bugzilla-ea6b82f1303f86e5b62ea23985cc47cea5454f9b.tar.xz
Bug 658929 - User autocomplete is very slow when there are lots of users in the profiles table
r/a=mkanat
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi2
1 files changed, 1 insertions, 1 deletions
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;