summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-07 17:49:13 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-07 17:49:13 +0000
commit18a0105143b178a52f71767dd00a9eefd5f6dd10 (patch)
tree78c3fd5809ea329b3912f14ebdd2f04bf61f988a
parent309b0c39356a6e7647a8e55bdf4bf7ed07efd036 (diff)
Fixing bug 1708011
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1152 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/OE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm
index f6a1f6be..fddd0fd2 100755
--- a/LedgerSMB/OE.pm
+++ b/LedgerSMB/OE.pm
@@ -178,7 +178,7 @@ sub transactions {
$form->{closed} = 1;
}
if ( $form->{ponumber} ne "" ) {
- $query .= " AND lower(ponumber) LIKE ?";
+ $query .= " AND lower(ponumber) LIKE '%' || lower(?) || '%'";
push @queryargs, $form->{ponumber};
}