View | Details | Raw Unified | Return to bug 9239
Collapse All | Expand All

(-)a/C4/Search.pm (+1 lines)
Lines 1179-1184 sub parseQuery { Link Here
1179
    my $QParser;
1179
    my $QParser;
1180
    $QParser = C4::Context->queryparser if (C4::Context->preference('UseQueryParser') || $query =~ s/^qp=//);
1180
    $QParser = C4::Context->queryparser if (C4::Context->preference('UseQueryParser') || $query =~ s/^qp=//);
1181
    undef $QParser if ($query =~ m/^(ccl=|pqf=|cql=)/ || grep (/\w,\w|\w=\w/, @operands) );
1181
    undef $QParser if ($query =~ m/^(ccl=|pqf=|cql=)/ || grep (/\w,\w|\w=\w/, @operands) );
1182
    undef $QParser if (scalar @limits > 0);
1182
1183
1183
    if ($QParser)
1184
    if ($QParser)
1184
    {
1185
    {
(-)a/Koha/QueryParser/Driver/PQF/query_plan/node.pm (+1 lines)
Lines 68-73 sub target_syntax { Link Here
68
                if ($atom_content) {
68
                if ($atom_content) {
69
                    $pqf .= ' @or ' x (scalar(@fields) - 1);
69
                    $pqf .= ' @or ' x (scalar(@fields) - 1);
70
                    foreach my $attributes (@fields) {
70
                    foreach my $attributes (@fields) {
71
                        $attributes->{'attr_string'} ||= '';
71
                        $pqf .= $attributes->{'attr_string'} . ($attributes->{'4'} ? '' : ' @attr 4=6 ') . $atom_content . ' ';
72
                        $pqf .= $attributes->{'attr_string'} . ($attributes->{'4'} ? '' : ' @attr 4=6 ') . $atom_content . ' ';
72
                    }
73
                    }
73
                    $atom_count++;
74
                    $atom_count++;
(-)a/opac/opac-search.pl (-2 / +3 lines)
Lines 837-843 if (C4::Context->preference('GoogleIndicTransliteration')) { Link Here
837
        $template->param('GoogleIndicTransliteration' => 1);
837
        $template->param('GoogleIndicTransliteration' => 1);
838
}
838
}
839
839
840
$template->{VARS}->{DidYouMean} = C4::Context->preference('OPACdidyoumean') =~ m/enable/;
840
$template->{VARS}->{DidYouMean} =
841
  ( defined C4::Context->preference('OPACdidyoumean')
842
      && C4::Context->preference('OPACdidyoumean') =~ m/enable/ );
841
$template->{VARS}->{IDreamBooksReviews} = C4::Context->preference('IDreamBooksReviews');
843
$template->{VARS}->{IDreamBooksReviews} = C4::Context->preference('IDreamBooksReviews');
842
$template->{VARS}->{IDreamBooksReadometer} = C4::Context->preference('IDreamBooksReadometer');
844
$template->{VARS}->{IDreamBooksReadometer} = C4::Context->preference('IDreamBooksReadometer');
843
$template->{VARS}->{IDreamBooksResults} = C4::Context->preference('IDreamBooksResults');
845
$template->{VARS}->{IDreamBooksResults} = C4::Context->preference('IDreamBooksResults');
844
- 

Return to bug 9239