Bug 32307: (follow-up) Fix gallery when Coce is enabled
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Nov 2022 06:04:43 +0000 (07:04 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 1 Mar 2023 14:47:18 +0000 (14:47 +0000)
commitfebce968ac0ae0839b7d6fc4a4573e6c16101912
treee51813852dcada0af60a9eb711c1d9162bf96074
parent8ffc0757a8e675df97346d68ead11c50971ca5a4
Bug 32307: (follow-up) Fix gallery when Coce is enabled

Yet another fix, this is porting the following change to the intranet:
  commit 1916c644808577beb3170d642f93b456bfcc5c56
  Bug 28180: Fix bug with first image does not exist

To recreate the problem:
Enable Coce
Go to biblionmber=5 detail
=> No image (but one is displayed on the search result)
Add a local cover image
=> Only the local cover image is displayed
Apply this patch
=> Both images are displayed
Remove the local cover image
=> Image from coce is displayed

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d534d9186ce5af4b7054fe021c3a1d4afd2c3d55)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit a5bf4499bbede6597984c83f127aa0fddd524860)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt