Project:Views Date Range Filter
Version:5.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
daterange_js.patch1.13 KB

Comments

#1

Status:needs review» fixed

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

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.