Bug 5087: (QA follow-up) Fix leakage in opac-downloadshelf.pl
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
92d0472d63
commit
db15f4af8d
|
|
@ -140,7 +140,17 @@ if ( $shelf and $shelf->can_be_viewed( $borrowernumber ) ) {
|
|||
} 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue