Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raftx24 committed Nov 24, 2020
1 parent 0d38501 commit 69becdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tables/Builders/TaskTable.php
Expand Up @@ -18,7 +18,7 @@ class TaskTable implements Table, CustomFilter, ConditionalActions
public function query(): Builder
{
$now = Carbon::now();
$overdue = "completed = 0 and reminder >= {$now}";
$overdue = "completed = true and reminder >= '{$now}'";

return Task::visible()
->with('createdBy.avatar', 'createdBy.person')
Expand Down

0 comments on commit 69becdb

Please sign in to comment.