Date properties not being honoured for objectAdmin filter forms
Description
I added a datetime property to a filter form for a custom type, but it was being ignored in the form submission.
I've added a "datetime" specific case to the switch block inside core/tags/formtools/objectadmin.cfm line 384 (see attached file).
The new code should honour a date value from the filter form for a full day;
e.g. 2009-01-01 00:00:00 to 2009-01-01 23:59:59
Environment
ColdFusion 8 (developer)
Mac OSX
Apache 2+
MySQL
Attachments
1
Activity
Show:
Geoff Bowers
April 7, 2013 at 1:51 AM
What options have we got for a simple date limiting field for the filter? Older than... etc? I understand this is relatively complicated as it falls outside of the standard behaviour of the formtool filter.
Can we make a call? Either too hard, use Content Admin. Or lets have something in place for 7.0.
Potential workaround is opening the commercial Content Admin plugin.
Geoff Bowers
June 18, 2009 at 1:57 PM
Filtering and objectadmin are scheduled to be refactored/replaced in 5.3.
I added a datetime property to a filter form for a custom type, but it was being ignored in the form submission.
I've added a "datetime" specific case to the switch block inside core/tags/formtools/objectadmin.cfm line 384 (see attached file).
The new code should honour a date value from the filter form for a full day;
e.g. 2009-01-01 00:00:00 to 2009-01-01 23:59:59