From d74bac52b68c12c8865d8183d51d946f58d8f34f Mon Sep 17 00:00:00 2001 From: Mason James Date: Tue, 2 May 2017 17:26:19 +1200 Subject: [PATCH] Revert "Bug 18094: Only search in searchable patron attributes if searching in standard fields" This reverts commit b696300c3a2ddbd670775fe22a0cb95b61751abf. --- C4/Utils/DataTables/Members.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Utils/DataTables/Members.pm b/C4/Utils/DataTables/Members.pm index 402e842cd3..fa00d01819 100644 --- a/C4/Utils/DataTables/Members.pm +++ b/C4/Utils/DataTables/Members.pm @@ -116,7 +116,7 @@ sub search { push @where_args, $term; } - if ( $searchfieldstype eq 'standard' and C4::Context->preference('ExtendedPatronAttributes') and $searchmember ) { + if ( C4::Context->preference('ExtendedPatronAttributes') and $searchmember ) { my $matching_borrowernumbers = C4::Members::Attributes::SearchIdMatchingAttribute($searchmember); for my $borrowernumber ( @$matching_borrowernumbers ) { -- 2.39.5