From b97c6be98bcfb9426970fbd90dce3dbfbae22541 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>
---
 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 3ea2719412e..85f1dd7b178 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