From 6b3ee8a5bdce034276d75323de2ae06424626827 Mon Sep 17 00:00:00 2001 From: Sam Lau Date: Fri, 26 Jul 2024 20:52:19 +0000 Subject: [PATCH] Bug 37409: Fix 'Edit' button for items in course reserves list Content-Type: text/plain; charset=utf-8 To test: 1) Set the 'UseCourseReserves' sys pref to 'Use' 2) Go to the Course reserves page 3) Create a new course, fill in the required info and make sure the 'Enabled?' is checked 4) Add a reserve to this course 5) From the course details page, select edit on the reserve you just made. 6) Note it brings you back to the add reserves page, and you are required to enter the barcode/biblionumber again to edit 7) Apply patch, restart_all 8) Press the edit button again 9) Now you are directed towards the correct page for editing 10) Make some changes and press save 11) You should be redirected back to the details page and your changes have been made Signed-off-by: Roman Dolny Signed-off-by: Marcel de Rooy --- .../prog/en/modules/course_reserves/course-details.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt index acda85b512..8523eaaab1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt @@ -298,7 +298,7 @@ [% IF CAN_user_coursereserves_add_reserves || CAN_user_coursereserves_delete_reserves %] [% IF CAN_user_coursereserves_add_reserves && logged_in_user.can_edit_items_from( cr.item.homebranch ) %] - Edit + Edit [% END %] [% IF CAN_user_coursereserves_delete_reserves %] -- 2.30.2