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

(-)a/members/member.pl (-2 / +1 lines)
Lines 104-110 my ($count,$results); Link Here
104
if ($member || keys %$patron) {
104
if ($member || keys %$patron) {
105
    #($results)=Search($member || $patron,{surname=>1,firstname=>1},[$from,$to],undef,["firstname","surname","email","othernames"]  );
105
    #($results)=Search($member || $patron,{surname=>1,firstname=>1},[$from,$to],undef,["firstname","surname","email","othernames"]  );
106
    my $search_scope = ( $quicksearch ? "field_start_with" : "start_with" );
106
    my $search_scope = ( $quicksearch ? "field_start_with" : "start_with" );
107
    ($results) = Search( $member || $patron, \@orderby, undef, undef, [ "firstname", "surname", "othernames", "cardnumber", "userid" ], $search_scope );
107
    ($results) = Search( $member || $patron, \@orderby, undef, undef, [ "firstname", "surname", "othernames", "cardnumber", "userid", "email" ], $search_scope );
108
}
108
}
109
109
110
if ($results) {
110
if ($results) {
111
- 

Return to bug 5945