From af163a9a628737a72feaa64d6febe504c766c25d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 1 Aug 2015 14:28:58 -0400 Subject: Fix broken url for closed tasks in project view --- ChangeLog | 1 + app/Template/project/show.php | 4 ++-- docs/closing-tasks.markdown | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 948bd2bd..a9f64112 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ New features: Bug fixes: * Wrong template name for subtasks tooltip due to previous refactoring +* Fix broken url for closed tasks in project view Version 1.0.17 -------------- 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 @@ 0): ?> 0): ?> -
  • url->link(t('%d tasks on the board', $stats['nb_active_tasks']), 'board', 'show', array('project_id' => $project['id'])) ?>
  • +
  • url->link(t('%d tasks on the board', $stats['nb_active_tasks']), 'board', 'show', array('project_id' => $project['id'], 'search' => 'status:open')) ?>
  • 0): ?> -
  • url->link(t('%d closed tasks', $stats['nb_inactive_tasks']), 'project', 'tasks', array('project_id' => $project['id'])) ?>
  • +
  • url->link(t('%d closed tasks', $stats['nb_inactive_tasks']), 'listing', 'show', array('project_id' => $project['id'], 'search' => 'status:closed')) ?>
  • diff --git a/docs/closing-tasks.markdown b/docs/closing-tasks.markdown index 7462b683..235387a9 100644 --- a/docs/closing-tasks.markdown +++ b/docs/closing-tasks.markdown @@ -1,7 +1,9 @@ Closing tasks ============= -When a task is closed, they are hidden from the board. However, you can always access to the list of closed tasks from the board menu **Board > Actions > Completed tasks**. +When a task is closed, they are hidden from the board. + +However, you can always access to the list of closed tasks by using the query **status:closed** in any search form or simply choose **Closed tasks** from the filter dropdown. There are two different way to close a task, from the task dropdown menu on the board: -- cgit v1.2.3