]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 22 Oct 2021 13:51:37 +0000 (09:51 -0400)
commit931ef856f9bf1ed1bdba828a66af5e099b792c3c
tree36a9a3b58fe04d6161651564a5e3a934753c8b40
parent049c235527c1e6dfbb7d3fb5375d10155f052223
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Biblio.pm
t/db_dependent/Koha/Biblios.t