From 5311a7b2cf23a8d67d6ab0b59a50de1e84d2ba15 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 17 Jul 2020 13:57:34 +0000 Subject: [PATCH] Bug 26005: OPAC cart display fails with error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch removes the "opac_option" parameter from opac-basket.pl. It was included in Bug 25402 because the bug was dependent on 5087. To test, apply the patch and add some items to the Cart in the OPAC. Click the Cart button to show the cart. The pop-up window should load correctly without errors. Signed-off-by: Frédéric Demians --- opac/opac-basket.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-basket.pl b/opac/opac-basket.pl index 51ece6cd2e..a7e7100ec5 100755 --- a/opac/opac-basket.pl +++ b/opac/opac-basket.pl @@ -166,7 +166,7 @@ my $resultsarray = \@results; # my $itemsarray=\@items; $template->param( - csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc', used_for => 'export_records', opac_option => 1 }) ], + csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc', used_for => 'export_records' }) ], bib_list => $bib_list, BIBLIO_RESULTS => $resultsarray, ); -- 2.17.1