Bug 16384 - When canceling 'edit basket', return to basket summary if you came from there
Summary: When canceling 'edit basket', return to basket summary if you came from there
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Katrin Fischer
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 00:32 UTC by Katrin Fischer
Modified: 2016-12-05 21:25 UTC (History)
4 users (show)

See Also:
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' (1.63 KB, patch)
2016-04-29 00:57 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 16384: Fix cancel link for 'Edit basket' (1.77 KB, patch)
2016-04-29 13:49 UTC, Marc Véron
Details | Diff | Splinter Review
Bug 16384: Fix cancel link for 'Edit basket' (1.83 KB, patch)
2016-05-02 11:52 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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