https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38981

--- Comment #7 from Jonathan Druart <[email protected]> ---
We have fixed this problem on the staff interface long ago.

The use of GetCoverFromBibnumber is problematic (and it's also why shelfbrowser
is broken, see bug 31207)

We should pass the image numbers to the template, the same way we do for
opac-detail

  60                             [% IF ( OPACLocalCoverImages ) %]
  61                                 [% IF localimages.count %]
  62                                     [% FOREACH image IN localimages %]
  63                                         <div class="cover-image
local-coverimg">
  64                                             <a
href="/cgi-bin/koha/opac-image.pl?imagenumber=[% image.imagenumber | uri %]"
title="Local cover image">
  65                                                 <img
  66                                                    
src="/cgi-bin/koha/opac-image.pl?thumbnail=1&amp;imagenumber=[%
image.imagenumber | uri %]"
  67                                                     alt="Local cover
image"
  68                                                    
data-link="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblionumber | uri
%]&amp;imagenumber=[% image.imagenumber | uri %]"
  69                                                 />
  70                                             </a>
  71                                             <div class="hint">Local cover
image</div>
  72                                         </div>
  73                                     [% END %]
  74                                 [% END %]
  75                             [% END %]

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to