From c23982e7b0de037e13bf7191df5b1be2fa4804cb Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 12 Sep 2025 17:15:17 +0000 Subject: [PATCH] Bug 40803: Use submit form link to submit renewals from overdue items tab in opac user account To test: 1 - Check out an item to a patron, backdated to be overdue 2 - Log in as that user to the OPAC 3 - From 'Your summary' - click the overdue tab, click renew 4 - 500 Error 5 - Apply patch 6 - Reload the page and repeat 7 - Success! --- .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 12 +++++++++++- 1 file changed, 11 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 36e2a98dff2..9de01d19fd3 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -784,7 +784,17 @@ Account frozen [% ELSIF ( OVERDUE.status ) %] [% IF ( canrenew ) %] - Renew + + Renew [% END %] ( [% I18N.tx("{renewals_left} of {renewals_allowed} renewals remaining", { renewals_left = OVERDUE.renewsleft, renewals_allowed = OVERDUE.renewsallowed }) %] -- 2.39.5