You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am failing to get to work this filter.
It shows up correctly, no errors at all, but no matter what it always shows no results to the query.
I have tried to format the date to a carbon date in the original data, then in a _formatted column inside the table component but it always shows no results.
I am getting the data from an API that returns it this way: "CREATETIME":"2024/09/23 11:30:01"
Then formatting it like this:
->add('CREATETIME')
->add('CREATETIME_FORMATTED', function ($wf) {
return Carbon::parse($wf->CREATETIME)->format('Y-m-d H:i:s');
});
And finally adding the filter:
Filter::datetimepicker('CREATETIME'),
I have tried to put second parameter to the filter with several combinations but nothing seems to work.
Can anyone help me?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am failing to get to work this filter.
It shows up correctly, no errors at all, but no matter what it always shows no results to the query.
I have tried to format the date to a carbon date in the original data, then in a _formatted column inside the table component but it always shows no results.
I am getting the data from an API that returns it this way:
"CREATETIME":"2024/09/23 11:30:01"
Then formatting it like this:
And finally adding the filter:
I have tried to put second parameter to the filter with several combinations but nothing seems to work.
Can anyone help me?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions