mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Make bulk group member management easier
Add and Remove members separated. Introduced user list paging size.
This commit is contained in:
parent
bd2e8ac165
commit
1b16be2505
9 changed files with 130 additions and 93 deletions
|
@ -169,8 +169,10 @@ export default Service.extend({
|
|||
},
|
||||
|
||||
// matchUsers on firstname, lastname, email
|
||||
matchUsers(text) {
|
||||
return this.get('ajax').request('users/match', {
|
||||
matchUsers(text, limit) {
|
||||
if (is.null(limit) || is.undefined(limit)) limit = 100;
|
||||
|
||||
return this.get('ajax').request(`users/match?limit=${limit}`, {
|
||||
method: 'POST',
|
||||
dataType: 'json',
|
||||
contentType: 'text',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue