-
Notifications
You must be signed in to change notification settings - Fork 0
Description
In a collection item, for example: https://exploreuk.uky.edu/catalog/xt7qjq0stw34_12, when paging through using the navigation arrows or downloading using the "JPEG of this page" button, the user thinks they are on the last page of the collection, but when they download the second to last page downloads.
Expected behavior is that when a user is on the last page of any item, and they click download this page, they get the same page that they are looking at in the viewer.
There is an error with the page.id variable in the book reader view where page.id doesn't get built correctly in the URL for the last page and then breaks the URL for the download and navigation.
From the console log: Uncaught TypeError: Cannot read properties of undefined (reading 'id')
at xt7qjq0stw34_12:118:35
| var text = '<?= $this->path('/catalog/') ?>' + page.id + '/text'; |