Clicking on the cancel link when adding a new course to course reserves displays the message 'Invalid Course!'. It would be better if it redirected back to the main Course Reserves page. To reproduce: Go to Course Reserves Click '+ New Course' Cancel the process You are shown 'Invalid Course!'
Created attachment 69277 [details] [review] Bug 19678: Clicking Cancel when adding New Course to course reserves shows message Invalid Course! Clicking on the cancel link when adding a new course to course reserves displays the message 'Invalid Course!'. It would be better if it redirected back to the main Course Reserves page. This patch redirects the user back to the main course reserves page. To Test: 1. Go to Course Reserves 2. Click '+ New Course' 3. Cancel the process 4. You are shown 'Invalid Course!' 5. Apply patch and repeat steps 1-3 6. You are redirected back to the main course reserves page
Created attachment 69278 [details] [review] Bug 19678: Clicking Cancel when adding New Course to course reserves shows message Invalid Course! Clicking on the cancel link when adding a new course to course reserves displays the message 'Invalid Course!'. It would be better if it redirected back to the main Course Reserves page. This patch redirects the user back to the main course reserves page. To Test: 1. Go to Course Reserves 2. Click '+ New Course' 3. Cancel the process 4. You are shown 'Invalid Course!' 5. Apply patch and repeat steps 1-3 6. You are redirected back to the main course reserves page
Created attachment 69280 [details] [review] Bug 19678: Clicking Cancel when adding New Course to course reserves shows message Invalid Course! Clicking on the cancel link when adding a new course to course reserves displays the message 'Invalid Course!'. It would be better if it redirected back to the main Course Reserves page. This patch redirects the user back to the main course reserves page. To Test: 1. Go to Course Reserves 2. Click '+ New Course' 3. Cancel the process 4. You are shown 'Invalid Course!' 5. Apply patch and repeat steps 1-3 6. You are redirected back to the main course reserves page
Created attachment 69281 [details] [review] Bug 19678: Clicking Cancel when adding New Course to course reserves shows message Invalid Course! Clicking on the cancel link when adding a new course to course reserves displays the message 'Invalid Course!'. It would be better if it redirected back to the main Course Reserves page. This patch redirects the user back to the main course reserves page. To Test: 1. Go to Course Reserves 2. Click '+ New Course' 3. Cancel the process 4. You are shown 'Invalid Course!' 5. Apply patch and repeat steps 1-3 6. You are redirected back to the main course reserves page Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Caused by commit f55af2fc078a7d6a05238232bc276e6924307179 Bug 19229: Return to course when cancelling out of edit form
Created attachment 69916 [details] [review] Bug 19678: Clicking Cancel when adding New Course to course reserves shows message Invalid Course! Clicking on the cancel link when adding a new course to course reserves displays the message 'Invalid Course!'. It would be better if it redirected back to the main Course Reserves page. This patch redirects the user back to the main course reserves page. To Test: 1. Go to Course Reserves 2. Click '+ New Course' 3. Cancel the process 4. You are shown 'Invalid Course!' 5. Apply patch and repeat steps 1-3 6. You are redirected back to the main course reserves page Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 18.05, thanks to everybody involved!