59 |
# Find the borrower by his userid or email |
59 |
# Find the borrower by userid, cardnumber, or email |
61 |
$search_results = [ Koha::Patrons->search( { -or => { userid => $username, cardnumber => $username } } ) ]; |
61 |
$search_results = [ Koha::Patrons->search( { -or => { userid => $username, cardnumber => $username } } ) ]; |