|
|
@ -81,6 +81,10 @@ module.exports = function (User) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function filterAndSortUids(uids, data, callback) {
|
|
|
|
function filterAndSortUids(uids, data, callback) {
|
|
|
|
|
|
|
|
uids = uids.filter(function (uid) {
|
|
|
|
|
|
|
|
return parseInt(uid, 10);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
var fields = [];
|
|
|
|
var fields = [];
|
|
|
|
|
|
|
|
|
|
|
|
if (data.sortBy) {
|
|
|
|
if (data.sortBy) {
|
|
|
|