Fix: default order of users/notes (#3234)
This commit is contained in:
parent
20a943b193
commit
4ca0a22bfc
@ -180,6 +180,8 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
|
|||||||
query.createdAt = {
|
query.createdAt = {
|
||||||
$lt: new Date(ps.untilDate)
|
$lt: new Date(ps.untilDate)
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
sort._id = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ps.includeReplies) {
|
if (!ps.includeReplies) {
|
||||||
|
Loading…
Reference in New Issue
Block a user