From 98b7953d7f9a7d13d300a85e810c0b17e0f05299 Mon Sep 17 00:00:00 2001 From: Repmovs Date: Mon, 15 Aug 2022 11:20:09 +0000 Subject: [PATCH] fixing issue #4634 --- client/components/boards/boardsList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index 7f8136b0a..032d81a37 100644 --- a/client/components/boards/boardsList.js +++ b/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}`);