Browse Source

Merge pull request #4635 from repmovs/miniscreen-issues

fixing issue #4634
Lauri Ojansivu 2 years ago
parent
commit
f9934eeec9
1 changed files with 1 additions and 1 deletions
  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}`);