Browse Source

Remove sorting by _id

boeserwolf 5 years ago
parent
commit
e354715a9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/publications/boards.js

+ 1 - 1
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 }));