Bug 32388 - "Image from Amazon.com" displayed even if AmazonLocale is not set to american (OPAC)
Summary: "Image from Amazon.com" displayed even if AmazonLocale is not set to american...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-01 16:17 UTC by Caroline Cyr La Rose
Modified: 2022-12-01 16:18 UTC (History)
0 users

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


Attachments
Sample records (3.30 KB, text/plain)
2022-12-01 16:17 UTC, Caroline Cyr La Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2022-12-01 16:17:28 UTC
This is the same as bug 32387 but for the OPAC.

In the records details in the OPAC, the message under the amazon cover image is "Image from Amazon.com" even when AmazonLocale is set to another site than american.

To test:

Note: I attached a file of sample records that I use for various image sources, you can import this file into Koha, if needed

      - Download the attached marc file (coverimages.mrc)
      - In the Koha staff interface, go to Cataloging > Stage records for import
      - Click the "Choose file" or "Browse" button and choose the downloaded file
      - Click "Upload file"
      - Click "Stage for import"
      - Click "View detail of the enqueued job"
      - Click "View batch"
      - Click "Import this batch into the catalog"

1. Enable AmazonCoverImages
   1.1. Go to Administration > Global system preferences
   1.2. Search for Amazon
   1.3. Select "Show" in AmazonCoverImages
   1.4. Click "Save all Enhanced content preferences"

2. Set AmazonLocale to canadian (or other locale than american)
   2.1. Select "Canadian" in AmazonLocale
   2.2. Click "Save all Enhanced content preferences"

3. If using the attached records, search the OPAC for "Two gentlemen of Verona";
   if not using the file, search for a record with an ISBN than has an image on Amazon.ca (or chosen locale)

4. Click on the title that has an image from Amazon to access the detailed record

   --> In the image box, notice that it says "Image from Amazon.com" even if AmazonLocale is set to Canadian

5. Click on the image

   --> Note that under the image, it says simply "Amazon cover image", this is ok
Comment 1 Caroline Cyr La Rose 2022-12-01 16:17:54 UTC
Created attachment 144382 [details]
Sample records

File with sample records