mirror of
https://github.com/wekan/wekan.git
synced 2026-02-05 08:01:49 +01:00
Added pagination to people management in admin panel
This commit is contained in:
parent
1f6545e411
commit
3bead1bf78
4 changed files with 55 additions and 7 deletions
|
|
@ -1,3 +1,7 @@
|
|||
Meteor.publish('people', function () {
|
||||
return Meteor.users.find({}, {fields:{}});
|
||||
Meteor.publish('people', (limit) => {
|
||||
check(limit, Number);
|
||||
return Users.find({}, {
|
||||
limit,
|
||||
sort: {createdAt: -1},
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue