Doctype Dashboard set_route


I have a custom doctype with a dashboard like the image below

When i click the “Licencas” in the dashboard he goes to the “Licencas List” but with no filter… And what i want is to automatically add a filter.

Note: Has you can see in the images below i make it work with a button but i cant figure it out how to make it work in dashboard links