Daterange including revisions
| Project: | Views Date Range Filter |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
I've created a view and I have a few exposed filters, one of which is a daterange on a cck date field.
Everything works properly, until I enter a daterange (or choose one of the options like within the past year).
Once I try to filter by that date in anyway, it goes whacky. It still works properly, except it lists all of the nodes AND their revisions.
In other words I have 1 node with a date in this past week. I've edited that node 3 times, so there are 3 revisions. When I chose "whithin the past week" in the exposed filter I get 1 node repeated 3 times. If I edit that node again and create another revision, I get 4 in the view. And so on.
I don't see why this is searching the revisions. Any help here would be great. Thanks.

#1
Please try the attached patch, and let me know if it fixes the problem. Thanks!
#2
Quick testing looks like that did the trick. Thanks for the quick response.
Also, applying the patch did return this:
Hunk #1 succeeded at 340 with fuzz 1 (offset -31 lines).
#3
Committed, Thanks!
#4
Automatically closed -- issue fixed for two weeks with no activity.