Explorar o código

Remove sorting by _id

boeserwolf %!s(int64=5) %!d(string=hai) anos
pai
achega
e354715a9d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 }));