After applying patch from Bug 37533 - when receiving and editing the order - the Edit link to edit the item doesn't return to the correct page, it loads it then goes back to the edit order pop up that the link is on
I don't think it is related to 37533, but maybe to somethig underlying To recreate: 1 - Make sure your system or basket is set to create items when ordering 2 - Add an order to a basket 3 - Close the basket 4 - Receive shipments 5 - Select or create invoice 6 - Select the order 7 - In the receipt modal click the 'Edit' button for the item in the left hand table 8 - A popup is launched, then immediately closes at url: http://localhost:8081/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=76&itemnumber=1114&popup=1#edititem 9 - The link can be opened manually no problem, but when launched via the Edit button it always closes
(In reply to Nick Clemens (kidclamp) from comment #1) > I don't think it is related to 37533, but maybe to somethig underlying > > To recreate: > 1 - Make sure your system or basket is set to create items when ordering > 2 - Add an order to a basket > 3 - Close the basket > 4 - Receive shipments > 5 - Select or create invoice > 6 - Select the order > 7 - In the receipt modal click the 'Edit' button for the item in the left > hand table > 8 - A popup is launched, then immediately closes at url: > > http://localhost:8081/cgi-bin/koha/cataloguing/additem. > pl?op=edititem&biblionumber=76&itemnumber=1114&popup=1#edititem > 9 - The link can be opened manually no problem, but when launched via the > Edit button it always closes Hi Nick, thanks for your comment! I think you are probably correct, I can remove the dependency link.
This issue seems to be to do with the popup=1 part of the url
*** This bug has been marked as a duplicate of bug 37536 ***
(In reply to wainuiwitikapark from comment #3) > This issue seems to be to do with the popup=1 part of the url It is indeed when popup=1. The issue is the javascript checks for op = 'saveitem' needs to be updated to op = 'cud-saveitem'
(In reply to Brendan Lawlor from comment #5) > (In reply to wainuiwitikapark from comment #3) > > This issue seems to be to do with the popup=1 part of the url > > It is indeed when popup=1. The issue is the javascript checks for op = > 'saveitem' needs to be updated to op = 'cud-saveitem' Thanks heaps!!!