Bug 32387 - "Image from Amazon.com" displayed even if AmazonLocale is not set to american
Summary: "Image from Amazon.com" displayed even if AmazonLocale is not set to american
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-01 15:48 UTC by Caroline Cyr La Rose
Modified: 2022-12-01 16:18 UTC (History)
1 user (show)

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


Attachments
Sample records (3.30 KB, text/plain)
2022-12-01 16:13 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 15:48:03 UTC
I noticed that, in the record details in the staff interface, the message under the amazon cover image is "Image from Amazon.com" even when AmazonLocale is set to another site than american. The message should either be "Image from Amazon" for all locales, or the message should change depending on the locale.

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 catalog 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)

   --> Note that under the image, it says simply "Amazon cover image", this is ok

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

Maybe we could use the same message ("Amazon cover image") everywhere?
Comment 1 Caroline Cyr La Rose 2022-12-01 16:13:30 UTC
Created attachment 144381 [details]
Sample records

Oops, I had forgotten the sample records file!