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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 Feb 2023 08:30:43 +0000 (08:30 +0000)
commita5bf4499bbede6597984c83f127aa0fddd524860
tree3d242194d482af48eecc03ac7d659152581e89e8
parente98f10fa9e2da040eb12a2519db0ddb59f43c0e7
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>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt