@@ -, +, @@ 35331 --- ill/ill-requests.pl | 2 +- members/ill-requests.pl | 2 +- t/db_dependent/Koha/Plugins/Ill_hooks.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/ill/ill-requests.pl +++ a/ill/ill-requests.pl @@ -425,7 +425,7 @@ if ( $backends_available ) { } } - $template->param( table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ) ); + $template->param( table_actions => encode_json( Koha::ILL::Request->get_staff_table_actions ) ); } elsif ( $op eq "save_comment" ) { die "Wrong CSRF token" unless Koha::Token->new->check_csrf({ session_id => scalar $cgi->cookie('CGISESSID'), --- a/members/ill-requests.pl +++ a/members/ill-requests.pl @@ -46,7 +46,7 @@ $template->param( prefilters => "borrowernumber=$borrowernumber", patron => $patron, illview => 1, - table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ), + table_actions => encode_json( Koha::ILL::Request->get_staff_table_actions ), ); output_html_with_http_headers $input, $cookie, $template->output; --- a/t/db_dependent/Koha/Plugins/Ill_hooks.t +++ a/t/db_dependent/Koha/Plugins/Ill_hooks.t @@ -47,7 +47,7 @@ subtest 'ill_table_actions hook' => sub { my $plugins = Koha::Plugins->new; $plugins->InstallPlugins; - my $table_actions = Koha::Illrequest->get_staff_table_actions; + my $table_actions = Koha::ILL::Request->get_staff_table_actions; is_deeply( $table_actions, --