From ed3882059711609099f13f408c9272611803a210 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 2 Feb 2024 15:16:02 +0000 Subject: [PATCH] Bug 34478: ILL OPAC: create -> add_form Signed-off-by: Jonathan Druart --- .../opac-tmpl/bootstrap/en/modules/opac-illrequests.tt | 6 +++--- opac/opac-illrequests.pl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt index 8687a8f3f0..73069b0c0f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -100,7 +100,7 @@
- +
@@ -120,11 +120,11 @@ [% ELSE %] - + Create a new request [% END %] diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl index 5ce4c86d2e..83c7a11e31 100755 --- a/opac/opac-illrequests.pl +++ b/opac/opac-illrequests.pl @@ -68,7 +68,7 @@ my $op = $params->{'op'} // $params->{'method'} // 'list'; show_param_deprecation_message('"create" op is DEPRECATED in favor of "cud-create".') if ( $op eq 'create' ); -$op = 'cud-create' if $op eq 'create'; +$op = 'cud-create' if $op eq 'create' || $op eq 'add_form'; my ( $illrequest_id, $request ); if ( $illrequest_id = $params->{illrequest_id} ) { -- 2.39.5