From 1241ffc5fd99c112d3bdf75e7161a71c2834e619 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 --- 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 459d018cf6..b9a3af2c8e 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -334,7 +334,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