Browse Source

got borrowers working with truncated names

master
chris 21 years ago
parent
commit
be61184e26
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      C4/Circulation/Borrower.pm

+ 1
- 1
C4/Circulation/Borrower.pm View File

@@ -138,7 +138,7 @@ sub findoneborrower {
# where surname ~* '$borcode' order by surname";
my $borquery = "Select * from borrowers
where lower(surname) = \"$lcborcode\" order by surname,firstname";
where lower(surname) like \"$lcborcode%\" order by surname,firstname";
my $sthb =$dbh->prepare($borquery);
$sthb->execute;
my $cntbor = 0;


Loading…
Cancel
Save