Bug 36000: Fix CGI::param warning in catalogue search

Speaks for itself.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Marcel de Rooy 2024-02-06 12:31:28 +00:00 committed by Katrin Fischer
parent dd7ac62d3f
commit 3cf72dee6b
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ if ( $template_type eq 'advsearch' ) {
@operators = $cgi->multi_param('op');
@indexes = $cgi->multi_param('idx');
$template->param(
sort => $cgi->param('sort_by'),
sort => scalar $cgi->param('sort_by'),
);
# determine what to display next to the search boxes
} elsif ( $cgi->param('edit_filter') ){