Instead it takes you back to the courses home page, which feels like the unexpected behaviour. I would expect to click on a course, click Edit, then click Cancel and be returned to the course.
Created attachment 66677 [details] [review] Bug 19229: Return to course when cancelling out of edit form To test: 1) Ensure UseCourseReserves is enabled 2) Go to Course Reserves, create a course 3) Edit course 4) Click Cancel 5) Notice you are returned to the courses home page rather than returned to the course 6) Apply patch 7) Go to edit course and click cancel again 8) Confirm you are returned to the course and that this feels like the natural expectation. Sponsored-by: Catalyst IT
Created attachment 66925 [details] [review] Bug 19229: Return to course when cancelling out of edit form To test: 1) Ensure UseCourseReserves is enabled 2) Go to Course Reserves, create a course 3) Edit course 4) Click Cancel 5) Notice you are returned to the courses home page rather than returned to the course 6) Apply patch 7) Go to edit course and click cancel again 8) Confirm you are returned to the course and that this feels like the natural expectation. Sponsored-by: Catalyst IT Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Created attachment 66948 [details] [review] Bug 19229: Return to course when cancelling out of edit form To test: 1) Ensure UseCourseReserves is enabled 2) Go to Course Reserves, create a course 3) Edit course 4) Click Cancel 5) Notice you are returned to the courses home page rather than returned to the course 6) Apply patch 7) Go to edit course and click cancel again 8) Confirm you are returned to the course and that this feels like the natural expectation. Sponsored-by: Catalyst IT Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 17.11, thanks to everybody involved!
Pushed to 17.05.x, will be in 17.05.05.
This patch has been pushed to 16.11.x and will be in 16.11.13.
Pushed to 16.05.x, for 16.05.18 release