]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1394014 - Old abusive username appears in autocomplete
authorDylan William Hardison <dylan@hardison.net>
Sat, 26 Aug 2017 01:34:34 +0000 (21:34 -0400)
committerGitHub <noreply@github.com>
Sat, 26 Aug 2017 01:34:34 +0000 (21:34 -0400)
Bugzilla/Elastic.pm

index 3a3829e3bfcbf2dd469856770e55d0a147995591..a01d1be4224f8661e7f316cf4aa156b4e0b8259a 100644 (file)
@@ -50,7 +50,7 @@ sub suggest_users {
 
 sub _suggest_users_fallback {
     my ($self, $text) = @_;
-    my $users = Bugzilla::User::match($text, 25, 0);
+    my $users = Bugzilla::User::match($text, 25, 1);
     return [ map { { real_name => $_->name, name => $_->login } } @$users];
 }