|
Lines 414-420
if ($indexes[0] && (!$indexes[1] || $params->{'scan'})) {
Link Here
|
| 414 |
} |
414 |
} |
| 415 |
|
415 |
|
| 416 |
# an operand can be a single term, a phrase, or a complete ccl query |
416 |
# an operand can be a single term, a phrase, or a complete ccl query |
| 417 |
my @operands = map uri_unescape($_), $cgi->param('q'); |
417 |
my @operands = map Encode::decode_utf8( uri_unescape($_) ), $cgi->param('q'); |
| 418 |
|
418 |
|
| 419 |
# limits are use to limit to results to a pre-defined category such as branch or language |
419 |
# limits are use to limit to results to a pre-defined category such as branch or language |
| 420 |
my @limits = map uri_unescape($_), $cgi->param('limit'); |
420 |
my @limits = map uri_unescape($_), $cgi->param('limit'); |
|
Lines 498-504
for my $this_cgi ( split('&',$query_cgi) ) {
Link Here
|
| 498 |
$this_cgi =~ m/(.*?)=(.*)/; |
498 |
$this_cgi =~ m/(.*?)=(.*)/; |
| 499 |
my $input_name = $1; |
499 |
my $input_name = $1; |
| 500 |
my $input_value = $2; |
500 |
my $input_value = $2; |
| 501 |
push @query_inputs, { input_name => $input_name, input_value => $input_value }; |
501 |
push @query_inputs, { input_name => $input_name, input_value => Encode::decode_utf8( uri_unescape( $input_value ) ) }; |
| 502 |
if ($input_name eq 'idx') { |
502 |
if ($input_name eq 'idx') { |
| 503 |
$scan_index_to_use = $input_value; # unless $scan_index_to_use; |
503 |
$scan_index_to_use = $input_value; # unless $scan_index_to_use; |
| 504 |
} |
504 |
} |