瀏覽代碼

Merge pull request #4635 from repmovs/miniscreen-issues

fixing issue #4634
Lauri Ojansivu 2 年之前
父節點
當前提交
f9934eeec9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/components/boards/boardsList.js

+ 1 - 1
client/components/boards/boardsList.js

@@ -197,7 +197,7 @@ BlazeComponent.extendComponent({
   },
   boardLists(boardId) {
     let boardLists = [];
-    const lists = Lists.find({ 'boardId': boardId, 'archived': false })
+    const lists = Lists.find({ 'boardId': boardId, 'archived': false },{sort: ['sort','asc']});
     lists.forEach(list => {
       let cardCount = Cards.find({ 'boardId': boardId, 'listId': list._id }).count()
       boardLists.push(`${list.title}: ${cardCount}`);