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

Navigate to pageAlias set in url #753

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

dchiller
Copy link
Collaborator

@dchiller dchiller commented Jul 5, 2023

Closes #703.

With this PR, we now set pageAlias on the ManuscriptState model if a pageAlias is provided.

Previously, if no valid folio was provided upon initialization of the Diva view, there was logic that assumed that the provided parameter was the page number of the image in the manifest. This logic has been revised so that if the folio is not provided, then the pageAlias is used and this parameter is properly parsed for use in setting the image.

@dchiller dchiller marked this pull request as ready for review July 5, 2023 18:17
@dchiller dchiller merged commit 9e2827d into DDMAL:main Jul 5, 2023
@dchiller dchiller deleted the i-703-fix-pageAlias-navigation branch July 5, 2023 20:11
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.

Copied url's with pageAlias parameter don't lead to expected page
2 participants