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

SF.net SVN: ledger-smb: [1153] trunk/LedgerSMB/OE.pm



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

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

Modified Paths:
--------------
    trunk/LedgerSMB/OE.pm

Modified: trunk/LedgerSMB/OE.pm
===================================================================
--- trunk/LedgerSMB/OE.pm	2007-05-07 17:49:13 UTC (rev 1152)
+++ trunk/LedgerSMB/OE.pm	2007-05-07 17:50:47 UTC (rev 1153)
@@ -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.