Bugzilla – Attachment 188019 Details for
Bug 41035
bundle_remove click handler in returns.tt has invalid path component "item"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41035: remove invalid path component 'item'
Bug-41035-remove-invalid-path-component-item.patch (text/plain), 1.51 KB, created by
Paul Derscheid
on 2025-10-16 16:56:49 UTC
(
hide
)
Description:
Bug 41035: remove invalid path component 'item'
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2025-10-16 16:56:49 UTC
Size:
1.51 KB
patch
obsolete
>From dd35471c1b7b9d22ff150c92bc19ad35a8acd987 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Thu, 16 Oct 2025 16:48:26 +0000 >Subject: [PATCH] Bug 41035: remove invalid path component 'item' > >To test: >1. Create a record as a collection with leader 007 set to c >2. Add some items on the same branch to the bundle >3. Check one item in >4. Observe that you get a 404 error and the item is not removed from > the bundle >5. Apply the patch >6. Repeat step 3 >7. Observe that the item is correctly removed (unlinked) from the > bundle >8. Sign off >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 9e8d328d450..2ccf2c29654 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -1728,7 +1728,7 @@ > var component_itemnumber = $(this).data('itemnumber'); > var host_itemnumber = $(this).data('hostnumber'); > var alert = $(this).closest('div'); >- var unlink_item_url = "/api/v1/items/" + host_itemnumber + "/bundled_items/item/" + component_itemnumber; >+ var unlink_item_url = "/api/v1/items/" + host_itemnumber + "/bundled_items/" + component_itemnumber; > $.ajax({ > type: "DELETE", > url: unlink_item_url, >-- >2.51.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 41035
:
188019
|
190652