diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/TaskFilter.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/TaskFilter.php b/app/Model/TaskFilter.php index 4f306b14..c47b059f 100644 --- a/app/Model/TaskFilter.php +++ b/app/Model/TaskFilter.php @@ -321,6 +321,8 @@ class TaskFilter extends Base */ public function filterByDueDate($date) { + $this->query->neq('date_due', 0); + $this->query->notNull('date_due'); return $this->filterWithOperator('date_due', $date, true); } |