[Koha-bugs] [Bug 6510] "Sort by" in intranet search alters search and number of hits
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 16 12:57:50 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6510
--- Comment #3 from Magnus Enger <magnus at enger.priv.no> 2011-06-16 10:57:50 UTC ---
The problem is not present in the OPAC, where this code takes care of the
parsing:
368 sub _input_cgi_parse ($) {
369 my @elements;
370 for my $this_cgi ( split('&',shift) ) {
371 next unless $this_cgi;
372 $this_cgi =~ /(.*?)=(.*)/;
373 push @elements, { input_name => $1, input_value => $2 };
374 }
375 return @elements;
376 }
Not sure if there is any practical difference between my proposed fix:
$this_cgi =~ /(.*)=(.*)/;
and the one used in opac/opac-search.pl:
$this_cgi =~ /(.*?)=(.*)/;
?
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list