Bugzilla – Attachment 186536 Details for
Bug 40828
Items view: “Delete item” not working in row action dropdown menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40828: Fix Delete item action in Items view
Bug-40828-Fix-Delete-item-action-in-Items-view.patch (text/plain), 1.44 KB, created by
Slava Shishkin
on 2025-09-17 16:03:36 UTC
(
hide
)
Description:
Bug 40828: Fix Delete item action in Items view
Filename:
MIME Type:
Creator:
Slava Shishkin
Created:
2025-09-17 16:03:36 UTC
Size:
1.44 KB
patch
obsolete
>From 15f6bd1608e6bcbdad50d041cee1b61e271879ae Mon Sep 17 00:00:00 2001 >From: Slava Shishkin <slavashishkin@gmail.com> >Date: Wed, 17 Sep 2025 19:02:05 +0300 >Subject: [PATCH] Bug 40828: Fix Delete item action in Items view >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Steps to reproduce: >1. Go to a bibliorecord and choose Edit â Manage items. > (If there are no items, create one.) >2. In the table of existing items, click on any column except the first for any item. >3. In the pop-up menu, select Delete item. >4. Confirm the deletion. >5. Apply the patch. >6. Verify that the item is correctly removed from the table by following the test plan. >--- > 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.51.0
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 40828
: 186536