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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (+1 lines)
Lines 951-956 sub _clean_search_term { Link Here
951
951
952
    $term = $self->_query_regex_escape_process($term);
952
    $term = $self->_query_regex_escape_process($term);
953
953
954
954
    return $term;
955
    return $term;
955
}
956
}
956
957
(-)a/catalogue/detail.pl (-1 / +3 lines)
Lines 128-133 if ( $xslfile ) { Link Here
128
        { index => $Koha::SearchEngine::BIBLIOS_INDEX }
128
        { index => $Koha::SearchEngine::BIBLIOS_INDEX }
129
    );
129
    );
130
    my $cleaned_title = $biblio->title;
130
    my $cleaned_title = $biblio->title;
131
    $cleaned_title =~ s/(\+|\-|\=|\&\&|\|\||\!|\(|\)|\{|\}|\[|\]|\^|\"|\~|\*|\?|\:|\\|\/)/\\$1/g;
132
    $cleaned_title =~ s/(<|>)/ /g;
133
131
    $cleaned_title =~ tr|/||;
134
    $cleaned_title =~ tr|/||;
132
    my $query =
135
    my $query =
133
      ( C4::Context->preference('UseControlNumber') and $record->field('001') )
136
      ( C4::Context->preference('UseControlNumber') and $record->field('001') )
134
- 

Return to bug 28326