summaryrefslogtreecommitdiff
path: root/app/Template/project/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project/show.php')
-rw-r--r--app/Template/project/show.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project/show.php b/app/Template/project/show.php
index 969dda17..d8d6de8d 100644
--- a/app/Template/project/show.php
+++ b/app/Template/project/show.php
@@ -23,11 +23,11 @@
<?php if ($stats['nb_tasks'] > 0): ?>
<?php if ($stats['nb_active_tasks'] > 0): ?>
- <li><?= $this->url->link(t('%d tasks on the board', $stats['nb_active_tasks']), 'board', 'show', array('project_id' => $project['id'])) ?></li>
+ <li><?= $this->url->link(t('%d tasks on the board', $stats['nb_active_tasks']), 'board', 'show', array('project_id' => $project['id'], 'search' => 'status:open')) ?></li>
<?php endif ?>
<?php if ($stats['nb_inactive_tasks'] > 0): ?>
- <li><?= $this->url->link(t('%d closed tasks', $stats['nb_inactive_tasks']), 'project', 'tasks', array('project_id' => $project['id'])) ?></li>
+ <li><?= $this->url->link(t('%d closed tasks', $stats['nb_inactive_tasks']), 'listing', 'show', array('project_id' => $project['id'], 'search' => 'status:closed')) ?></li>
<?php endif ?>
<li><?= t('%d tasks in total', $stats['nb_tasks']) ?></li>