Bug 40814 - Wrong link to original image with OPACAmazonCoverImages
Summary: Wrong link to original image with OPACAmazonCoverImages
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 26933
Blocks:
  Show dependency treegraph
 
Reported: 2025-09-15 20:54 UTC by Caroline Cyr La Rose
Modified: 2025-09-15 23:07 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2025-09-15 20:54:28 UTC
When viewing a cover image in the OPAC, there is a link "See the original image". When the cover image is an Amazon cover image, the link is something like http://www.amazon/gp/reader... there is no country code (?) like .com or .ca.

I tried playing with AmazonLocale, but it doesn't change the link.

To recreate:
1. Enable OPACAmazonCoverImages
2. Make a search on the OPAC (e.g. poetry)
3. Click on the cover image
4. Hover the mouse cursor over the "see the original image" link
   --> links to www.amazon/gp/reader...

The link should have .com or a country code like .ca.

The goes back as far as 25.05.02 which is where I noticed it, but is also on main, and maybe further back to 24.11 but I'm not sure. I know it's not in 24.05 because back then clicking on the image from the results list went to the record's details page, not to the image viewing window.
Comment 1 Caroline Cyr La Rose 2025-09-15 21:04:25 UTC
Possibly caused by bug 26933