Bug 19229: Return to course when cancelling out of edit form
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 31 Aug 2017 21:25:28 +0000 (21:25 +0000)
committerMason James <mtj@kohaaloha.com>
Tue, 24 Oct 2017 04:35:21 +0000 (17:35 +1300)
commit04c7552ac5fdd9ffa1d367f076754c44dd7d8d51
treef4bc1b91cca264fe224a083c0a3216c17ef1fb74
parenta47b8ca9ba8fafda5427e8ab3280cd1d67cfd5cd
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>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f55af2fc078a7d6a05238232bc276e6924307179)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit ae405f61c8d4c04361267b500347a496a2ce7d58)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt