summaryrefslogtreecommitdiffstats
path: root/lib/search.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-03-20 06:33:47 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-03-20 06:33:47 +0000
commit9258b7d2a98cbb2e49769a3d30c82b222fb059ec (patch)
tree9e58c839927bf61b467d2316770e1825bb83b998 /lib/search.php
parentac7ac55bebbf4a83c64759cb0954db6e699c6700 (diff)
downloadampache-9258b7d2a98cbb2e49769a3d30c82b222fb059ec.tar.gz
ampache-9258b7d2a98cbb2e49769a3d30c82b222fb059ec.tar.bz2
ampache-9258b7d2a98cbb2e49769a3d30c82b222fb059ec.zip
Add missing $operator so keyword searching will play well with others.
Diffstat (limited to 'lib/search.php')
-rw-r--r--lib/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search.php b/lib/search.php
index 2133b0fc..37f597fd 100644
--- a/lib/search.php
+++ b/lib/search.php
@@ -130,7 +130,7 @@ function search_song($data,$operator,$method,$limit) {
if ($additional_soundex) {
$where_sql.= " OR `artist2`.`name` SOUNDS LIKE '$value'";
$where_sql.= " OR `album2`.`name` SOUNDS LIKE '$value'";
- $where_sql.= " OR `song`.`title` SOUNDS LIKE '$value'";
+ $where_sql.= " OR `song`.`title` SOUNDS LIKE '$value' $operator";
}
$table_sql = " LEFT JOIN `album` as `album2` ON `song`.`album`=`album2`.`id`";