Bugzilla – Attachment 168843 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: Add drawcallback if LocalCoverImages
Bug-37330-Add-drawcallback-if-LocalCoverImages.patch (text/plain), 1.46 KB, created by
Pedro Amorim
on 2024-07-11 16:39:33 UTC
(
hide
)
Description:
Bug 37330: Add drawcallback if LocalCoverImages
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-07-11 16:39:33 UTC
Size:
1.46 KB
patch
obsolete
>From 9c84bfbe912ff54b8796712f1fdb215332e37b41 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: Add drawcallback if LocalCoverImages > >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. >--- > .../includes/html_helpers/tables/items/catalogue_detail.inc | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >index 1144657822..f688406221 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >@@ -841,6 +841,11 @@ > if ( drawcallback ) { drawcallback(this); } > }, > [% END %] >+ [% IF LocalCoverImages %] >+ drawCallback: function(settings){ >+ if ( drawcallback ) { drawcallback(this); } >+ }, >+ [% END %] > ...dt_options, > }, > items_table_settings[tab_id], >-- >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