Roland
Member
I would like to change all old date elements from type date to jdate but run into a problem with the Fabrik search.
(I am aware that I can't mix the fields in forms)
I changed the Fabrik element Eingang from date to jdate and didn't change the Fabrik default values of this element.
Then I started an Advanced search on this field:
Advanced search:
Field Eingang IS EMPTY
or
Field Eingang IS NOT EMPTY
All other search parameters like EQUALS etc. work.
The field in the database is configured as:
Type: date
NULL: Yes
Default: NULL
Do I have to change the database field or the configuration of the Fabrik field?
(I am aware that I can't mix the fields in forms)
I changed the Fabrik element Eingang from date to jdate and didn't change the Fabrik default values of this element.
Then I started an Advanced search on this field:
Advanced search:
Field Eingang IS EMPTY
or
Field Eingang IS NOT EMPTY
Result:
Failed to parse time string ('0000-00-00 00:00:00') at position 0 ('): Unexpected character
All other search parameters like EQUALS etc. work.
The field in the database is configured as:
Type: date
NULL: Yes
Default: NULL
Do I have to change the database field or the configuration of the Fabrik field?