DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Mon, 8 Jul 2013 02:15:59 +0000 (10:15 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 8 Jul 2013 02:15:59 +0000 (10:15 +0800)
DataObjects/Person.php

index eb90bc9..900a681 100644 (file)
@@ -754,15 +754,15 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
 
             ));
             
-            $s = $this->escape($q['query']['search']);
-                    $this->whereAdd("
+            
+            $this->whereAdd($str); /*
                         $tn_p.name LIKE '%$s%'  OR
                         $tn_p.email LIKE '%$s%'  OR
                         $tn_p.role LIKE '%$s%'  OR
                         $tn_p.phone LIKE '%$s%' OR
                         $tn_p.remarks LIKE '%$s%' 
                         
-                    ");
+                    ");*/
         }
         
         //