# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use C4::Output;
\@marclist, \@and_or, \@excluding, \@operator,
\@value, $authtypecode, $orderby
);
+ $template->param( search_query => $search_query ) if C4::Context->preference('DumpSearchQueryTemplate');
my $offset = $startfrom * $resultsperpage;
my ( $results, $total ) =
$searcher->search_auth_compat( $search_query, $offset,