From f074ad16b444659af58b147fba2af335c67675cb 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 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: David Nind --- .../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 e9acd983a6..40bc02d74f 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.39.2