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

(-)a/Koha/Biblio.pm (-1 / +3 lines)
Lines 1068-1073 Returns a query which can be used to search for all component parts of MARC21 bi Link Here
1068
sub get_volumes_query {
1068
sub get_volumes_query {
1069
    my ($self) = @_;
1069
    my ($self) = @_;
1070
1070
1071
    my $builder = Koha::SearchEngine::QueryBuilder->new(
1072
        { index => $Koha::SearchEngine::BIBLIOS_INDEX } );
1071
    my $marc = $self->metadata->record;
1073
    my $marc = $self->metadata->record;
1072
1074
1073
    my $searchstr;
1075
    my $searchstr;
Lines 1098-1103 sub get_volumes_query { Link Here
1098
    else {
1100
    else {
1099
        my $cleaned_title = $marc->title;
1101
        my $cleaned_title = $marc->title;
1100
        $cleaned_title =~ tr|/||;
1102
        $cleaned_title =~ tr|/||;
1103
        $cleaned_title = $builder->clean_search_term($cleaned_title);
1101
        $searchstr = "ti,phr:($cleaned_title)";
1104
        $searchstr = "ti,phr:($cleaned_title)";
1102
    }
1105
    }
1103
1106
1104
- 

Return to bug 26314