summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-07 17:50:47 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-07 17:50:47 +0000
commit0e7a7d621b77b2d696ca2f02c4db1a7d71f17a3f (patch)
treeac58a55357fc7210d29612afc86e8dd33b2417c7 /LedgerSMB
parent3606a28bfcac15e84b8c957d43a7427ca5c911b7 (diff)
Fixing bug 1708011
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1153 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/OE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm
index 2d1e39ec..2e074359 100644
--- 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};
}