Koha-clms/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 18134d8343
Bug 41318: Rename AmazonLocale to AmazonLocaleTld
To be more flexible we could allow the top-level domain instead of
having a predefined list.
However this patch still list the different available options (and adds
Brazilian) for easy selection.

Note that this system preference is not used to retrieve the image but
only to link to from the image. Contrary to what the reporter of the bug
report thought. And actually what I thought as well until I finished to
write the patch and started testing it!
Anyway now the patch is written, there should not be any changes in
behaviour. Most of the time the links are actually broken when not using
.com. So I think we either broke the whole feature at some point, or it
never really worked. On a separate bug we could eventually have a look
at fetching from the locale tld.

Test plan:
Turn on OPACAmazonCoverImages and AmazonCoverImages
http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=5
http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=5
=> You see the PBP cover
click on it, it opens the lightbox, click "(see the original image)" at
the bottom
=> This is where the syspref AmazonLocale/AmazonLocaleTld acts

Modify the syspref's value and confirm that the link is modified and
point to the correct domain (leading to 404 or broken pages most of the time,
at least in my tests).

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-10 14:25:34 +00:00
..
acqui Bug 30144: (QA follow-up) Only show servicing instructions when EDIFACT is available 2026-09-09 12:07:23 +00:00
admin Bug 41318: Rename AmazonLocale to AmazonLocaleTld 2026-09-10 14:25:34 +00:00
authorities Bug 42284: (QA follow-up) Fix missing query param index 2026-07-28 14:33:02 +00:00
basket Bug 42564: Upgrade Font Awesome in the staff interface to 7.2 2026-06-19 12:00:10 +00:00
batch Bug 35267: Ignore style tags with TT tags 2026-04-17 09:18:11 -06:00
bookings Bug 41898: Introduce 'issued' status and update booking display/filtering 2026-07-27 15:53:33 +00:00
catalogue Bug 41318: Rename AmazonLocale to AmazonLocaleTld 2026-09-10 14:25:34 +00:00
cataloguing Bug 42330: (follow-up) Some corrections to sidebars 2026-09-04 11:23:19 +00:00
circ Bug 42344: Remove CircSidebar 2026-09-10 14:25:31 +00:00
clubs Bug 42012: Fix missing preventDefault() call in clubs.tt 2026-03-20 12:01:07 +00:00
course_reserves Bug 41842: (follow-up) Ensure that tidy doesn't trim wanted whitespace 2026-08-12 16:08:01 +00:00
erm Bug 42800: (QA follow-up) Fix backslash breaking the shelf list script block 2026-08-26 09:23:33 +00:00
errors Bug 41177: (follow-up) A few minor corrections 2025-11-18 06:56:53 -07:00
ill Bug 42286: Tidy all script tags - ill (auto tidy) 2026-06-26 11:56:53 +00:00
installer Bug 39055: Change "op" to "login_op" when logging in to allow original op to flow through 2026-03-19 10:51:27 +00:00
labels Bug 42439: Remove event attributes from label-edit-batch.tt 2026-05-06 15:20:56 -06:00
mana Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members Bug 39658: Patron detail UI: Add linked accounts section 2026-09-09 12:07:33 +00:00
offline_circ Bug 40492: Improvements to offline circ actions table 2026-07-28 14:32:44 +00:00
onboarding Bug 40557: Fix layout of enrollment period fields in onboarding 2025-08-29 11:08:50 -06:00
patron_lists Bug 42564: Upgrade Font Awesome in the staff interface to 7.2 2026-06-19 12:00:10 +00:00
patroncards Bug 41653: Move addPrefs and addPermissions under the Koha namespace 2026-04-17 09:18:00 -06:00
plugins Bug 42330: Use main-container from all our templates 2026-09-04 11:23:13 +00:00
pos Bug 43325: Remove event attribute from point of sale receipt window 2026-09-09 15:49:57 +00:00
preservation Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
recalls Bug 42344: Remove CircSidebar 2026-09-10 14:25:31 +00:00
reports Bug 42322: Auto tidy 2026-08-25 08:56:36 +00:00
reserve Bug 36868: (follow-up) Fix variable names 2026-09-10 14:24:10 +00:00
reviews Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
rotating_collections Bug 42104: The term ID should be capitalized 2026-04-29 09:09:30 -06:00
serials Bug 42330: Tidy 2026-09-04 11:23:17 +00:00
services Bug 40818: Replace raw with html filter for marc_lib 2025-11-03 09:44:41 -07:00
sip2 Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
suggestion Bug 34166: Add total column to suggestions table 2026-08-21 15:58:24 +00:00
tags Bug 42330: Tidy 2026-09-04 11:23:17 +00:00
tools Bug 10190: Deprecate permission 2026-09-10 14:24:48 +00:00
virtualshelves Bug 32419: Show item availability on lists view 2026-09-03 15:54:03 +00:00
about.tt Bug 43177: Use archived link for Bridge Material Type Icon Set 2026-08-03 13:00:29 +00:00
auth.tt Bug 39055: Change "op" to "login_op" when logging in to allow original op to flow through 2026-03-19 10:51:27 +00:00
intranet-main.tt Bug 42535: Remove .news_delete JS from the main page 2026-06-19 12:00:15 +00:00