mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 08:53:09 +02:00
Fix: default order of users/notes (#3234)
This commit is contained in:
parent
20a943b193
commit
4ca0a22bfc
1 changed files with 2 additions and 0 deletions
|
@ -180,6 +180,8 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
|
|||
query.createdAt = {
|
||||
$lt: new Date(ps.untilDate)
|
||||
};
|
||||
} else {
|
||||
sort._id = -1;
|
||||
}
|
||||
|
||||
if (!ps.includeReplies) {
|
||||
|
|
Loading…
Reference in a new issue