Bugzilla – Attachment 169990 Details for
Bug 37409
Edit button for items in course reserves list doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37409: Fix 'Edit' button for items in course reserves list
Bug-37409-Fix-Edit-button-for-items-in-course-rese.patch (text/plain), 2.72 KB, created by
Marcel de Rooy
on 2024-08-02 07:49:07 UTC
(
hide
)
Description:
Bug 37409: Fix 'Edit' button for items in course reserves list
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-08-02 07:49:07 UTC
Size:
2.72 KB
patch
obsolete
>From 6b3ee8a5bdce034276d75323de2ae06424626827 Mon Sep 17 00:00:00 2001 >From: Sam Lau <samalau@gmail.com> >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 <roman.dolny@jezuici.pl> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../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 %] > <td class="actions"> > [% IF CAN_user_coursereserves_add_reserves && logged_in_user.can_edit_items_from( cr.item.homebranch ) %] >- <a class="btn btn-default btn-xs" href="add_items.pl?course_id=[% course.course_id | html %]&itemnumber=[% cr.item.itemnumber | html %]&biblionumber=[% cr.biblio.biblionumber | html %]&action=lookup&return=[% course.course_id | html %]&is_edit=1"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> >+ <a class="btn btn-default btn-xs" href="add_items.pl?course_id=[% course.course_id | html %]&op=lookup&barcode=[% cr.item.barcode | html %]&biblionumber=[% cr.biblio.biblionumber | html %]&is_edit=1&return=[% course.course_id | html %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> > [% END %] > > [% IF CAN_user_coursereserves_delete_reserves %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37409
:
169791
|
169792
|
169990
|
170007
|
170025
|
170435