#1801390: Use native field API to generate filters in redhen_filter_form introduced a way to handle date fields on the filter form, but forgot to take datestamp fields into account. Right now it filters using a BETWEEN and 2 dates represented as strings. Obviously this doesn't work when the date field uses a timestamp and thus INT column.

Patch to come.

CommentFileSizeAuthor
#2 redhen-2684203-2.patch1.42 KBkristiaanvandeneynde
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kristiaanvandeneynde created an issue. See original summary.

kristiaanvandeneynde’s picture

Assigned: kristiaanvandeneynde » Unassigned
Status: Active » Needs review
Parent issue: » #1801390: Use native field API to generate filters in redhen_filter_form
FileSize
1.42 KB

Not really a fan of the if-statement inside the switch-case, but meh.