From 6ba064c08a6f4e98e3a8df6aeea38eeb469e6252 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 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. --- 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.11.0