]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Helpers/Autocomplete/Users
Upgrade to 4.0.8 with modification of ExternalAuth.
[usit-rt.git] / share / html / Helpers / Autocomplete / Users
index dbc2d888f25d5f33afdcf5355a17ef81576f6ebd..c2b92c1bfd6f1f9d9c597fe52ce8454144f60076 100644 (file)
@@ -116,6 +116,9 @@ foreach (split /\s*,\s*/, $exclude) {
 
 my @suggestions;
 
+$users->Limit( FIELD => $return, OPERATOR => '!=', VALUE => '' );
+$users->Limit( FIELD => $return, OPERATOR => 'IS NOT', VALUE => 'NULL', ENTRYAGGREGATOR => 'AND'  );
+
 while ( my $user = $users->Next ) {
     next if $user->id == RT->SystemUser->id
          or $user->id == RT->Nobody->id;