Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1000 #1001

Merged
merged 6 commits into from
Dec 20, 2023
Merged

Issue 1000 #1001

merged 6 commits into from
Dec 20, 2023

Conversation

ajstanley
Copy link

@ajstanley ajstanley commented Dec 10, 2023

GitHub Issue: (Issue 1000)

  • Other Relevant Links (Google Groups discussion, related pull requests,
    Release pull requests, etc.)

What does this Pull Request do?

The code's original intent was to set the @Label of the manifest to the title of the requesting view, and if that title was not set, it was to use the title of the node or media. This never worked - a missing slash prevented the node title from being returned. Further, once a node has been given a title, it can only be changed to another title, so it can never be reverted to a condition which allows the (now fixed) node title to display.

These changes add a configuration to allow the user to choose between the View title, the Node title, or nothing at all.

What's new?

Choices!

How should this be tested?

Open a page with Mirador viewer on an Islandora instance with the manifest supplied by the IIIF view. On most Islandora instances this will be admin/structure/views/view/iiif_manifest Navigate to admin/config/islandora/iiif` and try each of the settings.

Documentation Status

No changes are required.

Additional Notes:

Any additional information that you think would be helpful when reviewing this
PR.

Interested parties

Tag (@ mention) interested parties or, if unsure, @Islandora/committers

@alxp
Copy link

alxp commented Dec 20, 2023

Are the failing tests something that would be easily fixed in your opinion @ajstanley

@seth-shaw-asu seth-shaw-asu merged commit d0e0c29 into Islandora:2.x Dec 20, 2023
16 of 18 checks passed
rosiel pushed a commit that referenced this pull request Apr 2, 2024
* Change to Boolean logic
* added forward slash to path
* Made Viewer display configurable

---------
Co-authored-by: Rosie Le Faive <lefaive@gmail.com>
@ajstanley ajstanley deleted the issue-1000 branch June 20, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants