digitalutsc / islandora_web_annotations

An Islandora module that enables annotation on Islandora objects, following the W3C Web annotation model.
GNU General Public License v3.0
7 stars 5 forks source link

ensure to show the dialog if from search #244

Closed Natkeeran closed 6 years ago

Natkeeran commented 6 years ago

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

MarcusBarnes commented 6 years ago

Tested and works as expected.