Skip to content

Commit

Permalink
Do not show closed tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed May 29, 2024
1 parent 97bab78 commit b9d0ebe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Functions/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ function main(array $args):void
'filter[budget_status]' => '1',
'filter[time_tracking_enabled]' => 'true',
]],
'tasks' => [Tasks::class, ['sort' => '-updated_at']],
'tasks' => [Tasks::class, [
'sort' => '-updated_at',
'filter[status]' => '1',
]],
];

logger('main', $command, should_update_cache() ? '--update-cache' : '');
Expand Down

0 comments on commit b9d0ebe

Please sign in to comment.