From 2fb5292dbf8244f0e4b2e20503371258d886b81e 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=utf8 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 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart (cherry picked from commit 619d7dde80f16cbcae40582b1fa4f5bd9238eac8) Signed-off-by: Lucas Gass --- 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.39.5