diff options
-rw-r--r-- | LedgerSMB/OE.pm | 2 |
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}; } |