Bugzilla – Attachment 186783 Details for
Bug 40859
Item deletion is broken when using the linktools button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40859: Restore deletion when using the 'linktools' button
Bug-40859-Restore-deletion-when-using-the-linktool.patch (text/plain), 1.33 KB, created by
Matt Blenkinsop
on 2025-09-23 10:28:04 UTC
(
hide
)
Description:
Bug 40859: Restore deletion when using the 'linktools' button
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-09-23 10:28:04 UTC
Size:
1.33 KB
patch
obsolete
>From a28a3b2366b03f46c7bdf3123b51c45d019059cc Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >Date: Tue, 23 Sep 2025 11:24:14 +0100 >Subject: [PATCH] Bug 40859: Restore deletion when using the 'linktools' button > >Test plan: >1) Go to: >http://localhost:8081/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1 >2) Click on the row for the first item to get the linktool buttons >3) Click "Delete item" >4) Accept the "Are you sure you want to delete this item?" alert >5) Accept the modal >6) The page refreshes and the item is deleted >--- > koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js >index 507bfa9b4ef..266d2af60e3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js >@@ -35,7 +35,7 @@ $(document).ready(function () { > ); > $(edit_link).text(LABEL_EDIT_ITEM); > var delete_link = $( >- '<a class="delete" data-item="' + >+ '<a class="delete" data-itemnumber="' + > num_rowid + > '" href="#"></a>' > ); >-- >2.50.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 40859
: 186783 |
186823