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

(-)a/labels/label-item-search.pl (-2 / +1 lines)
Lines 85-91 if ( $op eq "do_search" ) { Link Here
85
        undef, undef, $query_type, undef
85
        undef, undef, $query_type, undef
86
    );
86
    );
87
87
88
    if (!defined $error && @{$results->{biblioserver}{RECORDS}} ) {
88
    if (!defined $error && defined($results) && @{$results->{biblioserver}{RECORDS}} > 0 ) {
89
        $show_results = grep { defined $_ } @{$results->{biblioserver}{RECORDS}};
89
        $show_results = grep { defined $_ } @{$results->{biblioserver}{RECORDS}};
90
        $marcresults = [ grep { defined $_ } @{$results->{biblioserver}{RECORDS}} ];
90
        $marcresults = [ grep { defined $_ } @{$results->{biblioserver}{RECORDS}} ];
91
        $total_hits = $results->{biblioserver}{hits};
91
        $total_hits = $results->{biblioserver}{hits};
92
- 

Return to bug 30745