From c2dd7217da727669f3fdfed506a314aed8228f9b Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Fri, 14 Feb 2020 11:34:46 +0000
Subject: [PATCH] Bug 24103: (follow-up) Dump query on opac authorities search

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
---
 opac/opac-authorities-home.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/opac/opac-authorities-home.pl b/opac/opac-authorities-home.pl
index 3ea2719412..85f1dd7b17 100755
--- a/opac/opac-authorities-home.pl
+++ b/opac/opac-authorities-home.pl
@@ -75,6 +75,7 @@ if ( $op eq "do_search" ) {
             debug           => 1,
         }
     );
+    $template->param( search_query => $search_query ) if C4::Context->preference('DumpSearchQueryTemplate');
 
     # multi page display gestion
     my $value_url = uri_escape_utf8($value[0]);
-- 
2.11.0