Bugzilla – Attachment 158587 Details for
Bug 35273
When editing items on receive, aqorders_items is not updated correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35273: Fix item selection when receiving
Bug-35273-Fix-item-selection-when-receiving.patch (text/plain), 1.18 KB, created by
Jonathan Druart
on 2023-11-07 10:24:18 UTC
(
hide
)
Description:
Bug 35273: Fix item selection when receiving
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-11-07 10:24:18 UTC
Size:
1.18 KB
patch
obsolete
>From d090a9227f12f998a624c75fbc6b8ae2b7bf1a17 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 Nov 2023 11:23:34 +0100 >Subject: [PATCH] Bug 35273: Fix item selection when receiving > >--- > .../intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index a598ee2ec63..c20f14bf994 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -511,6 +511,11 @@ > item._checked = $(tr).find('input[type="checkbox"]').prop('checked'); > tr.html(''); > _build_item(item, tr); >+ >+ var row = $("#order_edit").data('row'); >+ row.items.forEach((it, i) => { if (it.item_id == itemnumber) { >+ row.items[i] = item; >+ }}); > } > }); > } >-- >2.34.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 35273
:
158587
|
158767
|
158796