Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I made a view of entity form submissions and I have a date field that is correctly rendered if I add it in the fields of the view.
If I try to add a filter based on that date field it is not added as date field but as a number reference, so I don't have the date filter criteria to select.
I tried to make a PHP filter but I can't access to date field data.
Comments
Comment #2
joelpittetThis is a views or date module question, has nothing to do with entityform.
I've moved it to the date module because that is the module that has created the date field, I'm assuming from the issue summary.
If the date is a property provided by entityform bring this issue back here.
Comment #3
smurfxx CreditAttribution: smurfxx commentedI don't know who is the responsible of this issue but date field is rendered fine when I add it in the view fields.
Comment #4
joelpittetThe
date_views_filter_handler
handler class is created by the date module. That's the class that type of field. Make suredate_views
is enabled. Also check what thebase table
is for your view.PHP filter
should never be used (My personal opinion).Comment #5
smurfxx CreditAttribution: smurfxx commentedDamn I'm really stupid! Date views module was not enabled... I'm really sorry!
Comment #6
joelpittetNo worries, glad I could hint to help