Range "in the next..." doesn't work
tostinni - February 29, 2008 - 00:07
| Project: | Views Date Range Filter |
| Version: | 5.x-1.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
There's a bug in the javascript taking care of future ranges, when I choose "in the next week" and right after switch back to "Custom date range" I have:
- date1: today+7
- date2: today
So of course submitting this filter doesn't return anything.
Here's a patch to correct this.
| Attachment | Size |
|---|---|
| daterange_js.patch | 1.13 KB |

#1
Committed, I pressed enter before remembering to give you credit! I referenced this ticket which in the CVS logs and saying Thank You here.
#2
Debugging this, I was thinking that there may be the need for translation of "today" in custom range ?
I may have a look at this if you want in the future.
#3
Automatically closed -- issue fixed for two weeks with no activity.