Bugzilla – Attachment 189853 Details for
Bug 40760
'Edit' link in item receive table is not formatted as link
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40760: Format 'Edit' link in item receive table as link
Bug-40760-Format-Edit-link-in-item-receive-table-a.patch (text/plain), 1.99 KB, created by
Owen Leonard
on 2025-11-21 14:47:15 UTC
(
hide
)
Description:
Bug 40760: Format 'Edit' link in item receive table as link
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-11-21 14:47:15 UTC
Size:
1.99 KB
patch
obsolete
>From 6e97828154eff18debc82916988fd55e532d0127 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 10 Oct 2025 10:42:31 +0200 >Subject: [PATCH] Bug 40760: Format 'Edit' link in item receive table as link > >When receiving items in the acq module, the "Edit" link in the items >table for orders with items created when ordering is not recognizable >as link, but appears just formatted as normal text. > >To test: >* Create a basket with items 'on order' >* Add an order line with 2+ items >* Close basket >* Receive shipment for the same vendor >* Click on "receive" link >* Verify the "Edit" in the items table on the left is formatted as a > link > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 8cb5d28e09..ec2e3033ed 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -468,7 +468,7 @@ > item._checked = $(this).prop('checked'); > }); > tr.append($('<td style="text-align:center"></td>').append(chb)); >- tr.append('<td><a style="cursor:pointer" onclick="PopupEditPage('+item.biblio_id+', '+item.item_id+');">'+EDIT[0].toUpperCase()+EDIT.substr(1).toLowerCase()+'</a></td>'); >+ tr.append('<td><a style="cursor:pointer" href="#" onclick="PopupEditPage('+item.biblio_id+', '+item.item_id+');">'+EDIT[0].toUpperCase()+EDIT.substr(1).toLowerCase()+'</a></td>'); > tr.append('<td>'+(item.external_id||'')+'</td>'); > tr.append('<td>'+display_string( 'home_library_id', item._strings, item.home_library_id ) || ''+'</td>'); > tr.append('<td>'+display_string( 'holding_library_id', item._strings, item.holding_library_id )+'</td>'); >-- >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 40760
:
187718
|
189853
|
190015