Bugzilla – Attachment 171522 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: Fix callback table selector
Bug-37330-Fix-callback-table-selector.patch (text/plain), 1.32 KB, created by
Pedro Amorim
on 2024-09-16 09:57:38 UTC
(
hide
)
Description:
Bug 37330: Fix callback table selector
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-09-16 09:57:38 UTC
Size:
1.32 KB
patch
obsolete
>From 7a78a6429a1dd9b90745b28f69ef9ffd0c28a74e Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 11 Jul 2024 16:39:06 +0000 >Subject: [PATCH] Bug 37330: Fix callback table selector > >1) Enable LocalCoverImages >2) Visit a biblio: >/cgi-bin/koha/catalogue/detail.pl?biblionumber=294 >3) On the actions column, click the arrow and click upload image, submit an image >4) Go back to biblio, notice the image shows for the specific item >5) Disable StaffDetailItemSelection >6) Go back to biblio, notice the image is gone >7) Apply patch. Repeat. >--- > 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 d465aca384..f48e43e2ad 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.attr('id'))); > }; > > function removeLocalImage(imagenumber) { >-- >2.39.2
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