From b18f878c5e6ce150d7c52dae0ed0c388a98b2f91 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Tue, 3 Mar 2009 17:48:15 +0100 Subject: [PATCH] (bug #2998) fix search sorting containing "=" just modify the way to parse the actual args Signed-off-by: Galen Charlton --- opac/opac-search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index e5e916dc8d..c973bc074a 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -339,7 +339,7 @@ sub _input_cgi_parse ($) { my @elements; for my $this_cgi ( split('&',shift) ) { next unless $this_cgi; - $this_cgi =~ /(.*)=(.*)/; + $this_cgi =~ /(.*?)=(.*)/; push @elements, { input_name => $1, input_value => $2 }; } return @elements; -- 2.39.5