This is a regression issue from PR https://github.com/digitalutsc/islandora_web_annotations/pull/242. The dialogue is shown even if the user does not come from search and does not have pid reference. This PR checks to make only show the dialogue if the user is coming from search.
What does this Pull Request do?
This is a regression issue from PR https://github.com/digitalutsc/islandora_web_annotations/pull/242. The dialogue is shown even if the user does not come from search and does not have pid reference. This PR checks to make only show the dialogue if the user is coming from search.
How should this be tested?
Interested parties
@MarcusBarnes