I don't know if it's the right queue to ask the question ...

As you can see on the screenshot attached, when I want to add a date argument to the view, I get three checkboxes labelled "date:date". What are they for ? Any explanation ?

Thanks for your answer.

Comments

bryansd’s picture

Seeing the same issue here too. Using Date 6.x-2.1 as well as Views 6.x-2.3.

arlinsandbulte’s picture

StatusFileSize
new206.36 KB
new319.08 KB

I noticed this too, but I have updated to:
Content Construction Kit (CCK) 6.x-2.2
Date 6.x-2.x-dev (2009-Apr-01)
Views 6.x-2.3

Now, when adding arguments (and filters), more explanation is given next to the choices (comments, node, and users).
This is quite confusing, however, as which of these you select determines which date fields you can choose on the next, Configure extra settings page.

Also, adding a date arguemnt and a date filter look different. I think they should look the same. See attached screenshots for examples.

Maybe this is as intended, but if it is it is very confusing to me.

karens’s picture

Status: Active » Closed (works as designed)

As noted in #2, I added more description in -dev.

These are the choices that make it possible to add date fields to User and Comment Views as well as Node views. If you select User or Comments as your base table, you only see the one you would expect to see. For some reason Views shows you all three if you make the Node the base table. There is nothing I can do about that if I want to make it possible to add dates to User and Comment views, which I do. So that's outside my control.

The Views code and forms for arguments and filters are different. There's really no way I can make them look the same. They have different options, different selections, and different requirements. Filters need a form element for the exposed filters that might be exposed to the end user, so all options that you don't want the end user to see have to go on a separate form. Arguments have options about how to handle default values that are not used in filters.

Basically they're two completely different animals.

rootwork’s picture

@KarenS And a BIG thank you for that! I discovered that the views that were seemingly ignoring my "greater or equal to today" filter were set using "Date (users)" instead of "Date (node)." Thanks for adding that information!

eff_shaped’s picture

bookmarking