mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 05:27:14 -04:00
Remove sorting by _id
This commit is contained in:
parent
ef5f38f431
commit
e354715a9d
1 changed files with 1 additions and 1 deletions
|
@ -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 }));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue