mirror of
https://github.com/wekan/wekan.git
synced 2026-03-06 05:40:16 +01: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,
|
$or,
|
||||||
// Sort required to ensure oplog usage
|
// 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) {
|
function(boardId, board) {
|
||||||
this.cursor(Lists.find({ boardId, archived: isArchived }));
|
this.cursor(Lists.find({ boardId, archived: isArchived }));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue