Link to filtered view of list

I'm trying to create Module Action Links in the Meganav that link to different filtered views of the same module.

I've created some custom filters on the Accounts list view, and I've figured out how to add custom Module Actions Link buttons.

This was my most recent attempt, but the route doesn't work:

$viewdefs[$module_name]['base']['menu']['header'][] = array(
'label' =>'LNK_ACCOUNTS_SCO',
'acl_module'=>$module_name,
'icon' => 'fa-bars',
'route'=>'#Accounts?filter%5B0%5D%5Baccounttype%5D%5B%24in%5D%5B%5D=Subsidiary%20Organisation',
);

Can anyone advise the best approach here please?

Parents Reply Children