Bugzilla – Attachment 171519 Details for
Bug 37330
LocalCoverImages for items don't show after 33526
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37330: (bug 33526 follow-up) Fix display of cover images for items
Bug-37330-bug-33526-follow-up-Fix-display-of-cover.patch (text/plain), 1.46 KB, created by
Jonathan Druart
on 2024-09-16 09:34:40 UTC
(
hide
)
Description:
Bug 37330: (bug 33526 follow-up) Fix display of cover images for items
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-09-16 09:34:40 UTC
Size:
1.46 KB
patch
obsolete
>From 46f2633162fe84fbbef64147af3e8a044b9a2cd8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 16 Sep 2024 11:31:45 +0200 >Subject: [PATCH] Bug 37330: (bug 33526 follow-up) Fix display of cover images > for items > >The id has been modified by bug 33526. We can simply pass the table >element however. > >Test plan: >Have some cover images at item level and notice that they are correctly >displayed on the bibliographic record detail page. > >Note that the slider does not work correctly. If you click on the dot >(so if you have several images for an item) the scrollbar is going to >hit the top of the page and the image won't change. >Could be reported separately if not done yet. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index d465aca3847..7a00e941dcf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -1480,8 +1480,7 @@ > } > > let build_items_table_drawncallback = function (table) { >- let tab_id = table.parents('.tab-pane').attr('id'); >- verify_cover_images($("#" + tab_id + '_table')); >+ verify_cover_images(table); > }; > > function removeLocalImage(imagenumber) { >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37330
:
168843
|
171519
|
171522
|
171523
|
171591