Hello,
I currently have a many to many relationship from Opportunity to a custom entity (Line Items - new_lineitem). On Opportunity I have a subgrid for Line Item. I have the subgrid defaulted to a custom view. My issue is that when I click to add a new relationship to the subgrid the default lookup view is not the view I have on the subgrid, it is the default that contains all options. I need to have the view for adding a new relationship default to a custom view. Below I have included images to hopefully better illustrate my needs, most of the JavaScript commands I have found only change the first image, not the second.
View 1, correct view
View 2 - incorrect view, this is what I need to change.