Summary: | Edit link when receiving orders is not going to the correct page | ||
---|---|---|---|
Product: | Koha | Reporter: | Wainui Witika-Park <wainuiwitikapark> |
Component: | Acquisitions | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | blawlor, emmi.takkinen, nick, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Wainui Witika-Park
2024-08-07 06:09:14 UTC
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!!! |