Closed (fixed)
Project:
Date
Version:
6.x-2.7
Component:
Views Argument
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2011 at 09:36 UTC
Updated:
28 Feb 2014 at 14:07 UTC
Jump to comment: Most recent
Comments
Comment #1
chromix commentedI've run into this as well. The most obvious way to do this would be calculated field that just stores the year, month, and day value, but this seems a little silly considering you can do this kind of filtering on created and updated dates in Drupal but not on date fields. Did you come up with another solution?
Comment #2
devuo commentedHello Chromix, sorry for the late answer, but the solution I've came up with was by overriding the specified View Query "Where" parameters through hook_views_query_alter() -> http://drupalcontrib.org/api/drupal/contributions--views--docs--docs.php...
Basically like this:
And that's basically it :)
Comment #3
jamesfk commentedYou can do this in views 2, by choosing node date as the argument, then you get to choose a cck date after that for some odd reason....
Comment #4
jkingsnorth commentedSolution offered.
(Closing old issue).