Add searching to projects member filter [SCI-5373] (#3054)

This commit is contained in:
aignatov-bio 2021-01-07 13:01:14 +01:00 committed by GitHub
parent 2bd3850802
commit 1515ffa3f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,7 +256,7 @@ class ProjectsController < ApplicationController
end
def users_filter
users = current_team.users.map do |u|
users = current_team.users.search(false, params[:query]).map do |u|
{ value: u.id, label: sanitize_input(u.name), params: { avatar_url: avatar_path(u, :icon_small) } }
end