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

(-)a/C4/Utils/DataTables/Members.pm (-3 / +2 lines)
Lines 123-132 sub search { Link Here
123
123
124
        if ( defined $searchfields->{$searchfieldstype} ) {
124
        if ( defined $searchfields->{$searchfieldstype} ) {
125
            for my $searchfield ( split /,/, $searchfields->{$searchfieldstype} ) {
125
            for my $searchfield ( split /,/, $searchfields->{$searchfieldstype} ) {
126
                push @{$search_params->{'-or'}}, {$searchfield => { -like => $term }};
126
                push @{$search_params->{'-or'}}, {"me.$searchfield" => { -like => $term }};
127
            }
127
            }
128
        } else {
128
        } else {
129
            push @{$search_params->{'-or'}}, {'me.' . $dbh->quote_identifier($searchfieldstype) => { -like => $term }};
129
            push @{$search_params->{'-or'}}, {"me.$searchfieldstype" => { -like => $term }};
130
        }
130
        }
131
131
132
132
133
- 

Return to bug 29125