Bug 40760

Summary: 'Edit' link in item receive table is not formatted as link
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Jonathan Druart <jonathan.druart>
Status: Pushed to oldstable --- QA Contact: Marcel de Rooy <m.de.rooy>
Severity: minor    
Priority: P5 - low CC: fridolin.somers, jonathan.druart, m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.06,24.11.11
Circulation function:
Attachments: Bug 40760: Format 'Edit' link in item receive table as link
Bug 40760: Format 'Edit' link in item receive table as link
Bug 40760: Format 'Edit' link in item receive table as link

Description Katrin Fischer 2025-09-05 16:45:11 UTC
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 not formatted as a link
Comment 1 Jonathan Druart 2025-10-10 08:43:26 UTC
Created attachment 187718 [details] [review]
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
Comment 2 Jonathan Druart 2025-10-10 08:43:41 UTC
I didn't find the cause of the regression (if it is one).
Comment 3 Owen Leonard 2025-11-21 14:47:15 UTC
Created attachment 189853 [details] [review]
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>
Comment 4 Marcel de Rooy 2025-11-28 10:04:35 UTC
Created attachment 190015 [details] [review]
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>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 5 Lucas Gass (lukeg) 2025-12-01 15:36:00 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 6 Paul Derscheid 2025-12-03 16:03:04 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 7 Fridolin Somers 2025-12-04 14:11:25 UTC
Pushed to 24.11.x for 24.11.11