Bugzilla – Attachment 161775 Details for
Bug 36000
Fix CGI::param called in list context from catalogue/search.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36000: Fix CGI::param warning in catalogue search
Bug-36000-Fix-CGIparam-warning-in-catalogue-search.patch (text/plain), 979 bytes, created by
Marcel de Rooy
on 2024-02-06 12:34:10 UTC
(
hide
)
Description:
Bug 36000: Fix CGI::param warning in catalogue search
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-02-06 12:34:10 UTC
Size:
979 bytes
patch
obsolete
>From 1004a71d00dda655bc167d037a7cdcc88f15a6ef Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 6 Feb 2024 12:31:28 +0000 >Subject: [PATCH] Bug 36000: Fix CGI::param warning in catalogue search >Content-Type: text/plain; charset=utf-8 > >Speaks for itself. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > catalogue/search.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/search.pl b/catalogue/search.pl >index e3da85daee..6228389717 100755 >--- a/catalogue/search.pl >+++ b/catalogue/search.pl >@@ -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') ){ >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36000
: 161775