# How to hide finished subtasks from the overview page?

**URL:** <https://kanboard.discourse.group/t/how-to-hide-finished-subtasks-from-the-overview-page/1289>\
**Category:** Open Discussions\
**Created:** [July 10, 2020, 4:07pm UTC](https://kanboard.discourse.group/t/how-to-hide-finished-subtasks-from-the-overview-page/1289 "2020-07-10T16:07:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![katla](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/katla/32/642_2.png) [@katla](https://kanboard.discourse.group/u/katla)\
**Post date:** [July 10, 2020, 4:07pm UTC](https://kanboard.discourse.group/t/how-to-hide-finished-subtasks-from-the-overview-page/1289/1 "2020-07-10T16:07:50Z")

</div>

Hi

Is it possible to hide the finished subtasks in the general boards overview page (`/?controller=DashboardController&action=show`)?

I tried the settings - \> project -\> (untick) Include closed tasks in the cumulative flow diagram without much success not sure where else i could take a look at.

```auto
Application version: 1.2.15
PHP version: 7.4.5
PHP SAPI: apache2handler
HTTP Client: cURL
OS version: Linux 5.7.0-1-amd64
Database driver: sqlite
Database version: 3.32.3

```

thanks

---

<div class="post-metadata">

**Author:** ![BarbaraD](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@BarbaraD](https://kanboard.discourse.group/u/BarbaraD)\
**Post date:** [January 2, 2022, 7:37pm UTC](https://kanboard.discourse.group/t/how-to-hide-finished-subtasks-from-the-overview-page/1289/2 "2022-01-02T19:37:18Z")

</div>

Dear team,

I would also like to create a DashboardController-View of the **opened** subtasks.

```auto
    public function subtasks()
    {
        $user = $this->getUser();

        $this->response->html($this->helper->layout->dashboard('dashboard/subtasks', array(
            'title' => t('Subtasks overview for %s', $this->helper->user->getFullname($user)),
            'paginator' => $this->subtaskPagination->getDashboardPaginator($user['id']),
            'user' => $user,
            'nb_subtasks' => $this->subtaskModel->countByAssigneeAndTaskStatus($user['id']),
        )));
    }

```

In the “dashboard/subtasks” view, if I filter on the “status:open”, it forwards me to the SearchController-View, which for me is less convenient.

How could I combine the two to add a “dashboard/subtasks” with **opened-substasks only**?

Thank you in advance for your help,  
kind regards,  
Barbara

---

<div class="post-metadata">

**Author:** ![BarbaraD](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@BarbaraD](https://kanboard.discourse.group/u/BarbaraD)\
**Post date:** [January 23, 2022, 10:02pm UTC](https://kanboard.discourse.group/t/how-to-hide-finished-subtasks-from-the-overview-page/1289/3 "2022-01-23T22:02:38Z")

</div>

Anybody to help? I have been trying since 3 weeks already and do not come further…

---

<div class="post-metadata">

**Author:** ![Tagirijus](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/tagirijus/32/1528_2.png) [@Tagirijus](https://kanboard.discourse.group/u/Tagirijus)\
**Post date:** [March 5, 2023, 1:22pm UTC](https://kanboard.discourse.group/t/how-to-hide-finished-subtasks-from-the-overview-page/1289/4 "2023-03-05T13:22:59Z")

</div>

I just tested it and it seems that it works if you override the `Template\task_list\task_subtasks.php` to this:

```php
<?php if (! empty($task['subtasks'])): ?>
<div class="task-list-subtasks">
    <?php foreach ($task['subtasks'] as $subtask): ?>

        <?php if ($subtask['status'] != 2): ?>

        <div class="task-list-subtask">
            <span class="subtask-cell column-50">
                <?= $this->subtask->renderToggleStatus($task, $subtask, 'rows', isset($user_id) ? $user_id : 0) ?>
            </span>
            <span class="subtask-cell column-20 subtask-assignee">
                <?php if (! empty($subtask['username'])): ?>
                    <?= $this->text->e($subtask['name'] ?: $subtask['username']) ?>
                <?php endif ?>
            </span>
            <span class="subtask-cell subtask-time-tracking-cell">
                <?= $this->render('subtask/timer', array(
                    'task' => $task,
                    'subtask' => $subtask,
                )) ?>
            </span>
        </div>

        <?php endif ?>

    <?php endforeach ?>
</div>
<?php endif ?>

```

I am new to this system and to the plugin writing thing. So maybe my solution might not be the smartest one. (;

  

Edit: Oh, with override I of course would suggest writing a plugin, which would override this file!

---

<div class="post-metadata">

**Author:** ![creecros](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/creecros/32/156_2.png) [@creecros](https://kanboard.discourse.group/u/creecros)\
**Post date:** [March 5, 2023, 2:28pm UTC](https://kanboard.discourse.group/t/how-to-hide-finished-subtasks-from-the-overview-page/1289/5 "2023-03-05T14:28:01Z")

</div>

this relates as well. [Subtasks clutter the Dashboard](https://kanboard.discourse.group/t/subtasks-clutter-the-dashboard/360)
