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

(-)a/C4/Utils/DataTables/Members.pm (-2 / +1 lines)
Lines 160-166 sub search { Link Here
160
160
161
161
162
        if ( $searchfieldstype eq 'standard' and C4::Context->preference('ExtendedPatronAttributes') and $searchmember ) {
162
        if ( $searchfieldstype eq 'standard' and C4::Context->preference('ExtendedPatronAttributes') and $searchmember ) {
163
             push @where_strs_or, " borrowernumber IN ( SELECT DISTINCT borrowernumber FROM borrower_attributes JOIN borrower_attribute_types USING (code) WHERE staff_searchable = 1 AND attribute LIKE ? ) ";
163
             push @where_strs_or, " borrowers.borrowernumber IN ( SELECT DISTINCT borrowernumber FROM borrower_attributes JOIN borrower_attribute_types USING (code) WHERE staff_searchable = 1 AND attribute LIKE ? ) ";
164
             push @where_args, $term;
164
             push @where_args, $term;
165
        }
165
        }
166
166
167
- 

Return to bug 29134