mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-12 18:22:16 +01:00
Add ability to set task to done, fixes ST-244
This commit is contained in:
committed by
Gregor Vostrak
parent
75e739f6fb
commit
364168debd
@@ -39,6 +39,15 @@ class TaskIndexRequest extends FormRequest
|
||||
return $builder;
|
||||
}),
|
||||
],
|
||||
'done' => [
|
||||
'string',
|
||||
'in:true,false,all',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
public function getFilterDone(): string
|
||||
{
|
||||
return $this->input('done', 'false');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user