Create utility function for dropdowns that add a filter and navigate to a new url

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The following discussion from !57760 (merged) should be addressed:

Edited by 🤖 GitLab Bot 🤖