From 58838fc263ecc9a843c94520e373030c77fc4eed Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 18 Jun 2024 19:34:52 +0000 Subject: [PATCH] Bug 37111: Fix renew link on opac-user.tt To test: 1. Check some items out to a patron 2. Set the username and apssword for the patron so that you can log in as that patron. 3. Log in to the OAPC as that patron. 4. Go to Your account > Summary (the default landing page after you log in). 5. Click "Renew" for one of the items. 6. You get the error as above. 7. APPLY PATCH 8. Try steps 1 -5 again, you should not get an error. Signed-off-by: David Nind Signed-off-by: Alexander Wagner Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index ae3d38e045..a5d392d0ce 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -453,7 +453,7 @@ [% IF ISSUE.renewed %]Renewed!
[% END %] [% IF ( ISSUE.status ) %] [% IF ( canrenew ) %] - Renew + Renew [% END %] [% IF ISSUE.renewalfee > 0 %] Fee for item type '[% ItemTypes.GetDescription( ISSUE.renewalitemtype) | html %]': [% ISSUE.renewalfee | $Price %] @@ -1085,6 +1085,7 @@ [% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] + [% Asset.js("js/form-submit.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %]