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!

CommentFileSizeAuthor
#1 fabio84_daterange.diff1.78 KBfabio84
fabio84_daterange.diff1.73 KBfabio84

Comments

fabio84’s picture

StatusFileSize
new1.78 KB

Sorry, I was too quick.

There was some errors in the old patch, so "before" and "after" didn't work.

This patch should be better

douggreen’s picture

Assigned: Unassigned » douggreen

Dates 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.

pomliane’s picture

Status: Needs review » Closed (won't fix)

This 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.