Bugzilla – Attachment 190652 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.56 KB, created by
Roman Dolny
on 2025-12-20 11:01:39 UTC
(
hide
)
Description:
Bug 41035: remove invalid path component 'item'
Filename:
MIME Type:
Creator:
Roman Dolny
Created:
2025-12-20 11:01:39 UTC
Size:
1.56 KB
patch
obsolete
>From 2c0205be74d92c2f109285e2fc43cfe87ef89bfa 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 > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >--- > 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 31bea0dc2b..a6dbcf2745 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -1735,7 +1735,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.39.5
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