Hi,

I'm using the date views filter as an exposed filter in a news article listing. On my client's site, they have news articles going back to 2003, but obviously no articles beyond this year. Currently I can set the drop-down date range for the year to be '2003:2009' or '-6:+0' and it displays the desired 2003 to 2009 years in the select. However, once 2010 rolls around, neither of these solutions are ideal as the view will have to be manually updated - either to '2003:2010' or '-7:+0'. My ideal solution would be able to combine these two formats, i.e. '2003:+0'. Would this be something you'd consider adding?

Also for UX I'd like to reverse the order of years in the drop down. Currently the lowest year is displayed first, but my client would like to reverse the order so the highest year is at the top of the list.

The only other request is to add an 'all months' option to the month drop down, which in my case, would allow the user to search for all news articles in 2009 without having to enter a specific month.

Cheers,
Stella

Comments

TravisCarden’s picture

Title: suggestions for date views filter » Add "All Months" option to Date fields Views exposed filters SELECT lists

Hello, @stella. I believe your first two suggestions are currently being worked on in #206127: Add ability to sort Views exposed filters SELECT lists in reverse and #426920: Reverse select list order, respectively. If you narrow this issue down to the remaining, single suggestion, it will be easier for people to both find and work on it.

kmonty’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev

Noting this feature request is still applicable for d7

nickonom’s picture

Issue summary: View changes

I second the request to add "All months" option to filter as currently you can't filter all nodes of a particular year, instead you have to go through months. Unfortunately, the solution proposed in https://www.drupal.org/node/1689274#comment-11180811 also didn't work. It was not committed anyway, so I thought to revive this specific request instead.