Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
http://screencast.com/t/oFHeqJ0KYHk
I am trying to display only events with a date >= to now in a views block. When I save this setting all my dates vanish. The screen shot was taken on 6/25 so my event on 6/23 should not show up, but my event on 6/28 should. They both go away when I save date >= now.
Comments
Comment #1
agerson CreditAttribution: agerson commentedI think it might be looking at the node creation date and not the custom date field I specified.
Comment #2
KarenS CreditAttribution: KarenS commentedThe overview page should show what date field the filter is using. You can change it to use a different date if you want. When you first set up a filter you get a list of all the date fields so you can choose which one to filter on. Once the filter is created, you'll see a little setting icon to the right of it that you can click on to change the field.
Comment #3
agerson CreditAttribution: agerson commentedYes, that is how I understand it to work. I choose my custom date field and set it to show date is >= now and it displays nothing even though I think it should. Is it possible it is using the node date even when I choose my own date field?
Comment #4
thisportrait CreditAttribution: thisportrait commentedI am having exactly the same problem. The Date field will not filter and return the desired entries, neither by using 'now', nor by using a YYYY-MM-DD date.
Comment #5
KarenS CreditAttribution: KarenS commentedI've made lots of commits since this was reported, including some today. Try the latest -dev code -- today's cvs version or tomorrow's tarball.
If you still see problems after that you can reopen with more info. I can use an export of the view and the date field you used (the date field can be exported by the Content Copy module). If you can, a copy of the query created is helpful (the Devel module allows you to see the queries).
Comment #6
sprugman CreditAttribution: sprugman commentedJust downloaded the latest tar ball*. I'm seeing two bugs with setting up date filters:
*Here's the first line of the changelog: //$Id: CHANGELOG.txt,v 1.1.8.77 2008/07/22 14:41:43 karens Exp $
(PHP 4.4.4)
Comment #7
KarenS CreditAttribution: KarenS commentedThat tarball doesn't have all the changes. You need at least today's tarball. You may need something more current than than (cvs or tomorrow's tarball).
I was making filter fixes last night and today, so it depends on which of them made it into the tarball, but the current version with all the changes is working.
Comment #8
sprugman CreditAttribution: sprugman commentedOh. I just downloaded, but I guess I need to wait another day for the latest update. Thanks.
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.