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

AttachmentSize
daterange_js.patch1.13 KB

#1

douggreen - February 29, 2008 - 12:39
Status:patch (code 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

tostinni - February 29, 2008 - 15:29

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

Anonymous (not verified) - March 14, 2008 - 15:33
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.