Bugzilla – Attachment 187718 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.94 KB, created by
Jonathan Druart
on 2025-10-10 08:43:26 UTC
(
hide
)
Description:
Bug 40760: Format 'Edit' link in item receive table as link
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-10-10 08:43:26 UTC
Size:
1.94 KB
patch
obsolete
>From 76ecc554d85bdc487f9deac72a63abd98e9efc30 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 >--- > 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 b36f1d39b92..a7ddca8a8b6 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.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 40760
: 187718