I found strange that this module doesn't check for the "to date" field.
For example, if I have a node with a date field, with "from date" = 20/12/2007 and "to date" = 27/12/2007, and I set a filter on that field with a range from 21/12 to 22/12, that node is not shown.
I wrote a quick and dirty patch for daterange.module, in order to check also the "to date" field. It works for me!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fabio84_daterange.diff | 1.78 KB | fabio84 |
| fabio84_daterange.diff | 1.73 KB | fabio84 |
Comments
Comment #1
fabio84Sorry, I was too quick.
There was some errors in the old patch, so "before" and "after" didn't work.
This patch should be better
Comment #2
douggreen commentedDates didn't support the "from" and "to" fields when I wrote this module. I think you're on to something, but I'll have to look at your patch a little closer, to make sure this is the way to do it.
Comment #3
pomliane commentedThis version of Views Date Range Filter is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.