Bug 12648: Fix conflict with bug 12833
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 1 Oct 2014 08:46:14 +0000 (10:46 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Mar 2015 14:47:37 +0000 (11:47 -0300)
Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
svc/members/search

index b2af851..8889773 100755 (executable)
@@ -61,7 +61,8 @@ foreach (grep {$_ =~ /^mDataProp/} keys %dt_params) {
 my $results;
 # If the user filled a term, maybe it's a cardnumber.
 # This cannot be the case if a first letter is given.
-if (    not $firstletter
+if ( $searchmember
+    and not $firstletter
     and $searchfieldstype
     and $searchfieldstype eq 'standard' )
 {