mirror of https://github.com/wekan/wekan
parent
1f6545e411
commit
3bead1bf78
@ -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…
Reference in new issue