Bug 32445: (follow-up) Fix availability display on opac-course-details
[srvgit] / opac / opac-browse.pl
index 84df8c8..bde1e71 100755 (executable)
 use Modern::Perl;
 use CGI qw ( -utf8 );
 
-use C4::Auth;
+use C4::Auth qw( get_template_and_user );
 use C4::Context;
-use C4::Output;
+use C4::Output qw( output_html_with_http_headers );
 
 use Koha::SearchEngine::Elasticsearch;
 use Koha::SearchEngine::Elasticsearch::Browse;
 use Koha::SearchEngine::Elasticsearch::QueryBuilder;
 use Koha::SearchEngine::Elasticsearch::Search;
 
-use JSON;
+use JSON qw( to_json );
 use Unicode::Collate;
 
 my $query = CGI->new;