[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [6819] property: fix search
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [6819] property: fix search |
Date: |
Fri, 21 Jan 2011 08:57:02 +0000 |
Revision: 6819
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6819
Author: sigurdne
Date: 2011-01-21 08:57:01 +0000 (Fri, 21 Jan 2011)
Log Message:
-----------
property: fix search
Modified Paths:
--------------
trunk/property/inc/class.solookup.inc.php
Modified: trunk/property/inc/class.solookup.inc.php
===================================================================
--- trunk/property/inc/class.solookup.inc.php 2011-01-21 08:32:39 UTC (rev
6818)
+++ trunk/property/inc/class.solookup.inc.php 2011-01-21 08:57:01 UTC (rev
6819)
@@ -222,11 +222,11 @@
if($role == 'group')
{
- $querymethod = " $where (id = " .
(int)$query . " OR descr $this->like '%$query%')";
+ $querymethod = " $where ({$table}.id =
" . (int)$query . " OR {$table}.descr $this->like '%$query%')";
}
else
{
- $querymethod = " $where (id $this->like
'%$query%' OR descr $this->like '%$query%')";
+ $querymethod = " $where ({$table}.id
$this->like '%$query%' OR {$table}.descr $this->like '%$query%')";
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [6819] property: fix search,
Sigurd Nes <=