mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
fixing issue #4634
This commit is contained in:
parent
6fbd817e83
commit
98b7953d7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue