X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Fopac-downloadshelf.pl;h=e94b76c505e7c861b0875d3f8a8252293ef1a2ba;hb=5c1599c925da726752a3565b6e11ce72152c1dba;hp=1057a16713d7eea016599c4872df0ca897c89741;hpb=700249eb3cbf765a5a731effd21ba543b74eb334;p=koha_fer diff --git a/opac/opac-downloadshelf.pl b/opac/opac-downloadshelf.pl index 1057a16713..e94b76c505 100755 --- a/opac/opac-downloadshelf.pl +++ b/opac/opac-downloadshelf.pl @@ -52,7 +52,6 @@ if ( ShelfPossibleAction( (defined($borrowernumber) ? $borrowernumber : -1), $sh if ($shelfid && $format) { - my @shelf = GetShelf($shelfid); my ($items, $totitems) = GetShelfContents($shelfid); my $marcflavour = C4::Context->preference('marcflavour'); my $output; @@ -95,7 +94,7 @@ if ( ShelfPossibleAction( (defined($borrowernumber) ? $borrowernumber : -1), $sh print $output; } else { - $template->param(csv_profiles => GetCsvProfilesLoop()); + $template->param(csv_profiles => GetCsvProfilesLoop('marc')); $template->param(shelfid => $shelfid); output_html_with_http_headers $query, $cookie, $template->output; } @@ -103,4 +102,4 @@ if ( ShelfPossibleAction( (defined($borrowernumber) ? $borrowernumber : -1), $sh } else { $template->param(invalidlist => 1); output_html_with_http_headers $query, $cookie, $template->output; -} \ No newline at end of file +}