From 36efb990e0fdb75e5996411cf249c24edae25cfc Mon Sep 17 00:00:00 2001
From: Fridolin Somers <fridolin.somers@biblibre.com>
Date: Thu, 24 Apr 2025 12:06:37 +0200
Subject: [PATCH] Bug 39736: Remove obsolete call on system preference
 'OPACResultsSidebar'

Bug 34869 moved additional contents.
Remove call in opac/opac-search.pl

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
---
 opac/opac-search.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/opac/opac-search.pl b/opac/opac-search.pl
index ece6ba64b8f..200df0beac4 100755
--- a/opac/opac-search.pl
+++ b/opac/opac-search.pl
@@ -561,8 +561,7 @@ if ( C4::Context->preference('OPACShowOpenURL') ) {
     );
 }
 
-$template->param( LIMIT_INPUTS       => \@limit_inputs );
-$template->param( OPACResultsSidebar => C4::Context->preference('OPACResultsSidebar') );
+$template->param( LIMIT_INPUTS => \@limit_inputs );
 
 ## II. DO THE SEARCH AND GET THE RESULTS
 my $total = 0;    # the total results for the whole set
-- 
2.49.0