The task limit should consider all open tasks (not only filtered tasks)

Fixes #4291
This commit is contained in:
Timo
2019-10-02 05:33:45 +02:00
committed by Frédéric Guillot
parent 91194776cf
commit 219c933832
4 changed files with 8 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ class BoardFormatter extends BaseFormatter implements FormatterInterface
public function format()
{
$swimlanes = $this->swimlaneModel->getAllByStatus($this->projectId, SwimlaneModel::ACTIVE);
$columns = $this->columnModel->getAll($this->projectId);
$columns = $this->columnModel->getAllWithTaskCount($this->projectId);
if (empty($swimlanes) || empty($columns)) {
return array();