I have a regular way of returning to the menu item originated from by using the following in the controller of my component:
$menu = Factory::getApplication()->getMenu()->getActive(); $url = (empty($menu->link) ? 'index.php?option=com_mycomponent&view=transactions' : $menu->link.'&Itemid='.$menu->id); But when I come from a modal view there is no menu retrieved and it defaults to the home page. Anyone have a suggestion to enable me to return to the list view with the menu parameters set?