X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=basket%2Fbasket.pl;fp=basket%2Fbasket.pl;h=ec5e4858928e0989b33147f432333c3d595f0a98;hb=814a1d4231c8e71613ce58a72b30a539654c34ee;hp=1dfbdb805d74aa2c34f67941ec3312d5c47d48b8;hpb=6d75e385c818212cc10a9832b5a5525cbef6e6b2;p=koha.git diff --git a/basket/basket.pl b/basket/basket.pl index 1dfbdb805d..ec5e485892 100755 --- a/basket/basket.pl +++ b/basket/basket.pl @@ -16,15 +16,15 @@ # along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use CGI qw ( -utf8 ); use C4::Koha; use C4::Biblio; use C4::Items; use C4::Auth; use C4::Output; -use C4::Csv; + +use Koha::CsvProfiles; my $query = new CGI; @@ -121,7 +121,7 @@ my $resultsarray = \@results; $template->param( BIBLIO_RESULTS => $resultsarray, - csv_profiles => GetCsvProfilesLoop('marc'), + csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc' }) ], bib_list => $bib_list, );