First, environment:
Drupal 6.8
CCK 2.1 - Views 2.1
Date 2.0 - rc6
Question:
I have a list of news content displayed by date and an exposed filter (displayed as a block - views settings) were the user can filter the news by category and by date. All works fine, but I would like to limit the selectable years in the pulldown generated for the exposed filter (It now displays 3 years in the past and 3 years in the future...) I would like to remove, at least, the years in the future because in this context it doesn't make sense to have those available.
I've tried limiting those in the settings available in views, but it doesn't seem to affect the pulldown generated for the exposed filter.
Any pointers on where I should look to customize this would be appreciated.
I've also wondered if this has been overlooked and should be filed has a bug and if so I'll try to provide a patch.
Thank you for your time.
Comments
Comment #1
karens commentedYou can set the year range, like -3:+3 in the filter settings. Get to that by clicking on the gear icon to the right of the filter in your view.