nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
148 stars 23 forks source link

fix(filter): pass datetime object for PARAM_DATE #1023

Closed blizzz closed 6 months ago

blizzz commented 6 months ago

When you have a view with a filter on last edited (cf. screenshot), loading the view would end in an "Unknown error", actually OCA\Tables\Db\Row2Mapper - getWantedRowIds: Could not convert PHP value '2024-01-01 00:01' to type datetime. Expected one of the following types: null, DateTime, DateTimeImmutable.

Screenshot_20240429_095635

blizzz commented 6 months ago

/backport to stable0.7