mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 12:38:30 +08:00
Add searching to projects member filter [SCI-5373] (#3054)
This commit is contained in:
parent
2bd3850802
commit
1515ffa3f5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue