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

(-)a/Koha/SearchEngine/Solr/Search.pm (-2 / +2 lines)
Lines 38-44 sub search { Link Here
38
              )
38
              )
39
            : ( "recordid", "id" );
39
            : ( "recordid", "id" );
40
40
41
    my $recordtype = ref($filters->{recordtype}) eq 'ARRAY'
41
    my $recordtype;
42
    $recordtype = ref($filters->{recordtype}) eq 'ARRAY'
42
                    ? $filters->{recordtype}[0]
43
                    ? $filters->{recordtype}[0]
43
                    : $filters->{recordtype}
44
                    : $filters->{recordtype}
44
                if defined $filters && defined $filters->{recordtype};
45
                if defined $filters && defined $filters->{recordtype};
45
- 

Return to bug 8463