[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1152] branches/1.2/LedgerSMB/OE.pm



Revision: 1152
          http://svn.sourceforge.net/ledger-smb/?rev=1152&view=rev
Author:   einhverfr
Date:     2007-05-07 10:49:13 -0700 (Mon, 07 May 2007)

Log Message:
-----------
Fixing bug 1708011

Modified Paths:
--------------
    branches/1.2/LedgerSMB/OE.pm

Modified: branches/1.2/LedgerSMB/OE.pm
===================================================================
--- branches/1.2/LedgerSMB/OE.pm	2007-05-07 16:53:23 UTC (rev 1151)
+++ branches/1.2/LedgerSMB/OE.pm	2007-05-07 17:49:13 UTC (rev 1152)
@@ -178,7 +178,7 @@
         $form->{closed} = 1;
     }
     if ( $form->{ponumber} ne "" ) {
-        $query .= " AND lower(ponumber) LIKE ?";
+        $query .= " AND lower(ponumber) LIKE '%' || lower(?) || '%'";
         push @queryargs, $form->{ponumber};
     }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.