Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
} else {
$template->param(fullpage => 1);
}
- $template->param(csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc', used_for => 'export_records' }) ]);
+ $template->param(
+ csv_profiles => [
+ Koha::CsvProfiles->search(
+ {
+ type => 'marc',
+ used_for => 'export_records',
+ staff_only => 0
+ }
+ )
+ ]
+ );
$template->param( shelf => $shelf );
output_html_with_http_headers $query, $cookie, $template->output;
}