Hi, I have some reports that separate entries from 2010 and 2011. I filtered them by "contains" 2010 and "contains" 2011. Now, in 6.x-2.0-beta6, "contains" is no longer a filtering option for my "Today's Date" field, although it remains an option for other fields, such as text fields. The reports are now showing everything and are no longer filtering. Was this a deliberate change?

Thanks!

CommentFileSizeAuthor
#3 1040156.patch1.2 KBjimbullington

Comments

jimbullington’s picture

Uh-oh, this was removed when we added "between". Sorry, I'll see if I can add it back.

kelbel’s picture

Great, thanks. Alternately though, I'd be totally fine using the "between" values (didn't realize those were there until you pointed it out). I'm just trying to figure out how to set them. I installed the date module. When I select the "between" filter for my 2010 report and then put in 01/01/2010 in the first field and 12/31/2010 in the second, it shows no results in the report. Does it sound like I'm doing that right?

jimbullington’s picture

StatusFileSize
new1.2 KB

I think I've found the problem - I was not handling webform 3.x date fields correctly. I've committed a change to the 6.x-2.x-dev branch. Try the latest version after it builds later today. A patch is attached as well.

jimbullington’s picture

Status: Active » Needs review
kelbel’s picture

Perfect!

jimbullington’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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