Repmovs 2 ani în urmă
părinte
comite
98b7953d7f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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}`);