I have a global search field on this layout and the following script is as followed on entering the layout.
I have a portal that is another occurrence of Breweries. Which is titled Breweries Name Search. This is the relationship.
If i conduct a search from the global search field, the portal displays all my search results as it should, however on entering the layout it should show all the records in the portal and it isnt. Now if i reverse the relationship which breaks the search feature, all records display when you enter the portal. Im stumped. I have used this method in many other layouts in this solution and it has worked fine. Here is my search script.