]> git.koha-community.org Git - koha.git/commit
Bug 29172: Make CustomCoverImagesURL compatible with control fields
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 5 Oct 2021 11:57:04 +0000 (13:57 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Oct 2021 09:15:32 +0000 (11:15 +0200)
commitb0038f40356a028e88e88ee335c395c0d466677e
treec9a2e4d47f4fc60a707994e5c6c5704ee6c28b82
parent082d53a6caa41c6b5b9d8ecb8df585baa9cf6bf4
Bug 29172: Make CustomCoverImagesURL compatible with control fields

Bug 22445 added CustomCoverImagesURL that deals with MARC fields, but
control fields were not supported.

Test plan:
Turn CustomCoverImages on
Fill CustomCoverImagesURL with https://covers.openlibrary.org/b/isbn/{006}-M.jpg
Add an isbn in 006 (0596001738 will work)
Go to the detail page of the bibliographic record and confirm that you
see a cover image.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm
t/db_dependent/Koha/Biblios.t