[Koha-bugs] [Bug 32387] New: "Image from Amazon.com" displayed even if AmazonLocale is not set to american

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 1 16:48:03 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32387

            Bug ID: 32387
           Summary: "Image from Amazon.com" displayed even if AmazonLocale
                    is not set to american
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff interface
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list