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

(-)a/Koha/Biblio.pm (-1 / +3 lines)
Lines 1649-1654 Returns a query which can be used to search for all component parts of MARC21 bi Link Here
1649
sub get_volumes_query {
1649
sub get_volumes_query {
1650
    my ($self) = @_;
1650
    my ($self) = @_;
1651
1651
1652
    my $builder = Koha::SearchEngine::QueryBuilder->new(
1653
        { index => $Koha::SearchEngine::BIBLIOS_INDEX } );
1652
    my $marc = $self->metadata->record;
1654
    my $marc = $self->metadata->record;
1653
1655
1654
    my $searchstr;
1656
    my $searchstr;
Lines 1679-1684 sub get_volumes_query { Link Here
1679
    else {
1681
    else {
1680
        my $cleaned_title = $marc->title;
1682
        my $cleaned_title = $marc->title;
1681
        $cleaned_title =~ tr|/||;
1683
        $cleaned_title =~ tr|/||;
1684
        $cleaned_title = $builder->clean_search_term($cleaned_title);
1682
        $searchstr = "ti,phr:($cleaned_title)";
1685
        $searchstr = "ti,phr:($cleaned_title)";
1683
    }
1686
    }
1684
1687
1685
- 

Return to bug 26314