From de128dbad860478496a0d655b5eb5c1005ebbabe Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 09:42:01 -0500 Subject: Remove default swimlane --- app/Formatter/BoardFormatter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/Formatter') diff --git a/app/Formatter/BoardFormatter.php b/app/Formatter/BoardFormatter.php index 3f47bfa9..59a8fb18 100644 --- a/app/Formatter/BoardFormatter.php +++ b/app/Formatter/BoardFormatter.php @@ -3,6 +3,7 @@ namespace Kanboard\Formatter; use Kanboard\Core\Filter\FormatterInterface; +use Kanboard\Model\SwimlaneModel; use Kanboard\Model\TaskModel; /** @@ -42,7 +43,7 @@ class BoardFormatter extends BaseFormatter implements FormatterInterface */ public function format() { - $swimlanes = $this->swimlaneModel->getSwimlanes($this->projectId); + $swimlanes = $this->swimlaneModel->getAllByStatus($this->projectId, SwimlaneModel::ACTIVE); $columns = $this->columnModel->getAll($this->projectId); if (empty($swimlanes) || empty($columns)) { -- cgit v1.2.3