Skip to content
Snippets Groups Projects
Commit 95856cdc authored by Peter Rotich's avatar Peter Rotich
Browse files

DateTimeFilter: Support empty value

parent b8bdd271
No related branches found
No related tags found
No related merge requests found
...@@ -2826,7 +2826,8 @@ extends QueueColumnFilter { ...@@ -2826,7 +2826,8 @@ extends QueueColumnFilter {
static $desc = /* @trans */ "Date and Time"; static $desc = /* @trans */ "Date and Time";
function filter($text, $row) { function filter($text, $row) {
return $text->changeTo(Format::datetime($text->value)); return $text ?
$text->changeTo(Format::datetime($text->value)) : '';
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment