summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-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};
}