Bug 28731: (bug 17600 follow-up) Import necessary subroutines in reports svc endpoint

TO test:
 1 - Write a report
 2 - Click the svc link in the saved reports list
 3 - ISE
 4 - Make report public
 5 - Click the svc link in saved reports list
 6 - ISE
 7 - Apply patch
 8 - Comfirm opac/public link works
 9 - Make report not public
10 - Confirm the internal svc link works

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2021-07-21 14:55:01 +00:00 committed by Jonathan Druart
parent f0108f4ff7
commit 3748efc8ab
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@
use Modern::Perl;
use C4::Output qw(output_with_http_headers);
use C4::Reports::Guided;
use C4::Reports::Guided qw( execute_query );
use Koha::Reports;
use JSON;
use CGI qw ( -utf8 );

View File

@ -20,8 +20,8 @@
use Modern::Perl;
use C4::Auth;
use C4::Reports::Guided;
use C4::Auth qw( get_template_and_user );
use C4::Reports::Guided qw( execute_query );
use Koha::Reports;
use JSON;
use CGI qw ( -utf8 );