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

Use same logic to return update json as GET #251

Closed Natkeeran closed 6 years ago

Natkeeran commented 6 years ago

What does this Pull Request do?

This PR addresses an issue found by @MarcusBarnes when updating an existing annotation. It was not updating the default block. This is due to regression changes to how the json object gets returned for update.

How should this be tested?

Interested parties

@MarcusBarnes

MarcusBarnes commented 6 years ago

Thank you @Natkeeran. The changes appear to resolve the issue I was seeing.