I have a view on a content type with a date field (timestamp, but I can change it if necessary)
When I use it in filter criteria, I have no problem to use criteria like Mydate greater than, less than, between, not between etc. But if I try to do the same thing using contextual filters I have only the "equal" criteria. I need to do this, so i can call the view from code passing arguments to it.
I found some pages about Drupal 6 where is written that i can pass parameter to the filter in format:
2008-11-12--2010-11-12, but when i try to make it and hit 'update preview', i obtain:
(field_data_field_test_date.field_test_date_value = '2008-01-01--2010-12-31') in the query.
I need to:
- use criteria greater than, less than, between
- pass date range to the view
Does anybody have some suggestion on how I can do it?