I have about 10 years worth of data in my application. I have a table view that filters the data correctly using drop-downs. I'm trying to find a way to restrict the user to only being able to select data within a 12 month period but still give them the ability to select any 12 month (or less) period within the ten year span. Any suggestions? Thanks in advance!
Comments
Comment #1
johnnydarkko commentedIn your view, you can add the filter "Content: date"
In here, you can change the operator to "is between" and keep the filter exposed.
When you click on the gear icon next to the content:date filter, change the granularity to month, and this gives the user the ability to filter the data by year/month.
HTH!
Comment #2
dreamer777 commentedbillsinc, i have the exact problem. did you find a solution?
Comment #3
veryverysam commentedthanks johnnydarkko for your answer
but what we need is to limit the date range that user can filter.
an example is we would like users to access only 3 months of data
so when a user choose from date as 1/Jan/2011, she can only choose to date before 1/Mar/2011
I dont think drupal support such kind of functions
Thanks
Sam
Comment #4
damienmckennaWe're sorry but the D6 release of Date module is no longer being supported. You are encouraged to update to Drupal 7 or 8, or direct questions to Drupal Answers.