mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Search by name, userName or email address when adding a new user to a board
This commit is contained in:
parent
ac0d7bda1c
commit
1852e66abd
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ Users.allow({
|
|||
|
||||
// Search a user in the complete server database by its name or username. This
|
||||
// is used for instance to add a new user to a board.
|
||||
const searchInFields = ['username', 'profile.fullname'];
|
||||
const searchInFields = ['username', 'profile.fullname', 'emails.address'];
|
||||
Users.initEasySearch(searchInFields, {
|
||||
use: 'mongo-db',
|
||||
returnFields: [...searchInFields, 'profile.avatarUrl'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue