diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index bf3f9c3a52..11cfb0f784 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -2054,6 +2054,7 @@ sub get_op_param_deprecation { } elsif ( $interface eq 'intranet' ) { $op = $params->{op} // $params->{method} // 'illlist'; $op = 'cud-create' if $op eq 'create'; + $op = 'cud-edit_action' if $op eq 'edit_action'; $op = 'cud-cancel' if $op eq 'cancel'; $op = 'cud-delete' if $op eq 'delete'; } diff --git a/ill/ill-requests.pl b/ill/ill-requests.pl index b23c23e567..74e37dac85 100755 --- a/ill/ill-requests.pl +++ b/ill/ill-requests.pl @@ -215,7 +215,7 @@ if ( $backends_available ) { # handle special commit rules & update type handle_commit_maybe($backend_result, $request); - } elsif ( $op eq 'edit_action' ) { + } elsif ( $op eq 'cud-edit_action' ) { # Handle edits to the Illrequest object. # (not the Illrequestattributes) # We simulate the API for backend requests for uniformity. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 01ec9a0b3e..8be24b166b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -491,7 +491,7 @@