or How to remove the exception parameter of a View’s contextual filter
Hi,
In Drupal 7 I have a View with two contextual filters (date field):
/view-url/YEAR/MONTH
When YEAR is the first argument and if there is none I make a Summary of the view, so the result can be something like:
* 2017 * 2016 * 2015
And MONTH is the second parameter, that if it’s not present, the view also makes a Summary:
* January * February * ...
I think that I’m stuck replicating the same View in Drupal 8, because the first Summary has a default parameter “all” wich is the exception of the second parameter.
- Is there a way to remove that default exception parameter from the url of the first summary? (I’m getting view-url/YEAR/all for each year of the list as its url).
- Can I expose YEAR and MONTH so people can easily navigate trough the view?
Also if there is a better way to built that kind of view (like better performance) I’ll apreciate the advice.