Bug 16384

Summary: When canceling 'edit basket', return to basket summary if you came from there
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: AcquisitionsAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: jonathan.druart, julian.maurice, kyle, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 16384: Fix cancel link for 'Edit basket'
Bug 16384: Fix cancel link for 'Edit basket'
Bug 16384: Fix cancel link for 'Edit basket'

Description Katrin Fischer 2016-04-29 00:32:26 UTC
When you edit the basket from the basket summary page, saving the change brings you back to the basket summary page, but cancelling brings you to the baskets page of the vendor.
Comment 1 Katrin Fischer 2016-04-29 00:57:45 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2016-04-29 13:49:52 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2016-05-02 11:52:51 UTC
Created attachment 51091 [details] [review]
Bug 16384: Fix cancel link for 'Edit basket'

When you edit the basket from the basket summary page,
saving the change brings you back to the basket summary
page, but cancelling brings you to the baskets page of
the vendor.

To test:
- Add a basket in acq
  - Test cancel link returns to baskets page of vendor
- Add a basket and save
- Edit this basket
  - Test cancel link now returns to basket summary page

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Kyle M Hall (khall) 2016-05-03 15:40:05 UTC
Pushed to master for 16.05, thanks Katrin!
Comment 5 Julian Maurice 2016-05-16 11:25:26 UTC
Patch pushed to 3.22.x, will be in 3.22.7