mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Checked in changes to search so descriptions are searched as well as titles. See bug 334713.
This commit is contained in:
parent
8349600002
commit
87b1b37072
@ -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'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user