diff options
Diffstat (limited to 'app/controllers/members_controller.rb')
-rw-r--r-- | app/controllers/members_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/members_controller.rb b/app/controllers/members_controller.rb index 80328aa7f..11cbeff32 100644 --- a/app/controllers/members_controller.rb +++ b/app/controllers/members_controller.rb @@ -135,7 +135,7 @@ class MembersController < ApplicationController end def autocomplete - @principals = Principal.active.like(params[:q]).find(:all, :limit => 100) - @project.principals + @principals = Principal.active.not_member_of(@project).like(params[:q]).all(:limit => 100) render :layout => false end |