I’m getting the wrong id populated into the javascript function that calls a sub panel search filter. I have a many to many relationship “opportunities_contacts” and show an opportunities subpanel in my contacts module.
Basically, within the function get_subpanel_relationship_name() in SugarWidgetSubPanelTopButton.php the relationship name returned ends up being “opportunities_contacts” which is put into the javascript function. The javascript function tries to find element by id as “opportunities_contacts_search” but the subpanel that’s built has an id of “opportunities_search”.
Other than that everything loads fine. I haven’t dealt with subpanels too much and can’t tell if I’m doing something wrong or if this is a bug.