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

(-)a/Koha/Biblio.pm (-3 / +2 lines)
Lines 523-530 sub components { Link Here
523
            $searchstr = "rcn='".$pf001->data()."'";
523
            $searchstr = "rcn='".$pf001->data()."'";
524
        } else {
524
        } else {
525
            # search for (773$w='Host001' and 003='Host003') or 773$w='Host003 Host001')
525
            # search for (773$w='Host001' and 003='Host003') or 773$w='Host003 Host001')
526
            $searchstr = "(rcn='".$pf001->data()."' and cni='".$pf003->data()."')";
526
            $searchstr = "(rcn='".$pf001->data()."' AND cni='".$pf003->data()."')";
527
            $searchstr .= " or rcn='".$pf003->data()." ".$pf001->data()."'";
527
            $searchstr .= " OR rcn='".$pf003->data()." ".$pf001->data()."'";
528
        }
528
        }
529
529
530
        my ( $errors, $results, $total_hits ) = $searcher->simple_search_compat( $searchstr, 0, undef );
530
        my ( $errors, $results, $total_hits ) = $searcher->simple_search_compat( $searchstr, 0, undef );
531
- 

Return to bug 11175