|
Lines 61-69
sub search {
Link Here
|
| 61 |
# split on coma |
61 |
# split on coma |
| 62 |
$searchmember =~ s/,/ /g if $searchmember; |
62 |
$searchmember =~ s/,/ /g if $searchmember; |
| 63 |
my $searchfields = { |
63 |
my $searchfields = { |
| 64 |
standard => 'surname,firstname,othernames,cardnumber', |
64 |
standard => 'surname,firstname,othernames,cardnumber,userid', |
| 65 |
email => 'email,emailpro,B_email', |
65 |
email => 'email,emailpro,B_email', |
| 66 |
borrowernumber => 'borrowernumber', |
66 |
borrowernumber => 'borrowernumber', |
|
|
67 |
userid => 'userid', |
| 67 |
phone => 'phone,phonepro,B_phone,altcontactphone,mobile', |
68 |
phone => 'phone,phonepro,B_phone,altcontactphone,mobile', |
| 68 |
address => 'streettype,address,address2,city,state,zipcode,country', |
69 |
address => 'streettype,address,address2,city,state,zipcode,country', |
| 69 |
dateofbirth => 'dateofbirth', |
70 |
dateofbirth => 'dateofbirth', |