summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorboeserwolf <github@noxware.de>2020-04-19 15:51:29 +0300
committerboeserwolf <github@noxware.de>2020-04-19 15:51:29 +0300
commite354715a9d0fdd45cdcf6d9beec35315a200ec6f (patch)
tree3002833cdf26e690919b129939ce488b70404403 /server
parentef5f38f431dbedbecc81135702764cdc08797177 (diff)
downloadwekan-e354715a9d0fdd45cdcf6d9beec35315a200ec6f.tar.gz
wekan-e354715a9d0fdd45cdcf6d9beec35315a200ec6f.tar.bz2
wekan-e354715a9d0fdd45cdcf6d9beec35315a200ec6f.zip
Remove sorting by _id
Diffstat (limited to 'server')
-rw-r--r--server/publications/boards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/publications/boards.js b/server/publications/boards.js
index b54f27a8..aa6d64d8 100644
--- a/server/publications/boards.js
+++ b/server/publications/boards.js
@@ -92,7 +92,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
$or,
// Sort required to ensure oplog usage
},
- { limit: 1, sort: { sort: 1 /* boards default sorting */, _id: 1 } },
+ { limit: 1, sort: { sort: 1 /* boards default sorting */ } },
),
function(boardId, board) {
this.cursor(Lists.find({ boardId, archived: isArchived }));