Checked in changes to search so descriptions are searched as well as titles. See bug 334713.
git-svn-id: svn://10.0.0.236/trunk@194713 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -167,7 +167,8 @@ if (!empty($sql['appfilter'])) {
|
||||
}
|
||||
|
||||
if (!empty($sql['q'])) {
|
||||
$where .= " main.Name LIKE '%{$sql['q']}%' AND ";
|
||||
$where .= " (main.name LIKE '%" . preg_replace('/[\s]+/','%',$sql['q']) . "%'
|
||||
OR main.Description LIKE '%" . preg_replace('/[\s]+/','%',$sql['q']) . "%') AND ";
|
||||
}
|
||||
|
||||
if (!empty($sql['type'])) {
|
||||
|
||||
Reference in New Issue
Block a user