Koha-clms/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
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
..
accounting.pref Bug 40445: Add configuration options and UI enhancements 2026-07-27 12:12:36 +00:00
acquisitions.pref Bug 40391: Add support for GIR:LSL (Library Sub-Location) in EDIFACT processing 2026-01-12 10:53:29 -07:00
admin.pref Bug 39171: Rename IS02709 ElasticsearchMARCFormat to base64ISO2709 2025-04-22 08:46:51 +02:00
authorities.pref Bug 38142: (follow-up) Choose language to report from authority to bibliographic record 2025-05-20 15:15:33 +02:00
cataloguing.pref Bug 42475: (follow-up) Fix a couple more instances of 'opac' 2026-06-03 12:08:07 +00:00
circulation.pref Bug 42344: Remove CircSidebar 2026-09-10 14:25:31 +00:00
enhanced_content.pref Bug 41318: Rename AmazonLocale to AmazonLocaleTld 2026-09-10 14:25:34 +00:00
erm.pref Bug 43202: Make it easier to find ERM system preferences 2026-09-03 15:54:04 +00:00
i18n_l10n.pref Bug 41287: (QA follow-up) Fix HTML syntax and improve logic consistency 2025-12-29 09:56:09 -07:00
interlibrary_loans.pref Bug 30200: Add pref to right file 2025-05-08 08:49:58 +02:00
local_use.pref
…
logs.pref Bug 42766: Add ScriptLog system preference 2026-08-04 10:20:46 +00:00
opac.pref Bug 30759: Add hint about the data that is sent via the Google Books API to OPACSuggestionAutoFill 2026-08-06 16:07:36 +00:00
patrons.pref Bug 39658: Admin: Add linked account system preferences UI 2026-09-09 12:07:34 +00:00
preservation.pref Bug 38785: Punctuation inconsistencies in preferences descriptions 2024-12-30 12:08:46 +01:00
reports.pref Bug 16631: Institute library limits 2026-07-28 14:32:25 +00:00
searching.pref Bug 21820: Add ElasticsearchEnableZebraQueue syspref to control Zebra indexing when using Elasticsearch 2026-04-15 11:37:18 -06:00
serials.pref Bug 40070: Add new preference DisplayPublishedDate 2025-10-15 16:12:04 -06:00
staff_interface.pref Bug 35267: Add preferences to UI 2026-04-17 09:18:05 -06:00
tools.pref Bug 42692: Typo: regarless 2026-06-05 14:26:01 +00:00
web_services.pref Bug 40166: Fix typo for all ips in ILSDIAuthorizedIPs 2025-06-23 09:50:32 -06:00