|
@@ -3208,7 +3208,8 @@ if (Meteor.isServer) {
|
|
|
boardId: paramBoardId,
|
|
|
swimlaneId: paramSwimlaneId,
|
|
|
archived: false,
|
|
|
- }).map(function(doc) {
|
|
|
+ },
|
|
|
+ { sort: ['sort'] }).map(function(doc) {
|
|
|
return {
|
|
|
_id: doc._id,
|
|
|
title: doc.title,
|
|
@@ -3219,6 +3220,7 @@ if (Meteor.isServer) {
|
|
|
dueAt: doc.dueAt,
|
|
|
endAt: doc.endAt,
|
|
|
assignees: doc.assignees,
|
|
|
+ sort: doc.sort,
|
|
|
};
|
|
|
}),
|
|
|
});
|