60 |
# Find the borrower by his userid or email |
60 |
# Find the borrower by userid, card number, or email |
62 |
$search_results = Koha::Patrons->search( { userid => $username } ); |
62 |
$search_results = Koha::Patrons->search( { -or => { userid => $username, cardnumber => $username } } ); |
65 |
$search_results = Koha::Patrons->search( { -or => { email => $email, emailpro => $email, B_email => $email } } ); |
65 |
$search_results = Koha::Patrons->search( { -or => { email => $email, emailpro => $email, B_email => $email } } ); |