Browse Source

Merge pull request #5040 from Pandetthe/master

Fix get_board_cards_count
Lauri Ojansivu 1 year ago
parent
commit
e4ae57bf7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -3392,7 +3392,7 @@ JsonRoutes.add('GET', '/api/boards/:boardId/cards_count', function(
         board_cards_count: ReactiveCache.getCards({
           boardId: paramBoardId,
           archived: false,
-        }),
+        }).length,
       }
     });
   } catch (error) {