mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
sync from trunk
This commit is contained in:
parent
62e7eadcba
commit
c3e966a72a
2 changed files with 4 additions and 2 deletions
|
@ -194,7 +194,7 @@ function search_song($data,$operator,$method,$limit) {
|
|||
$ids[] = $row['object_id'];
|
||||
}
|
||||
|
||||
$where_sql .= implode(',',$ids) . ')';
|
||||
$where_sql .= implode(',',$ids) . ') ' . $operator;
|
||||
break;
|
||||
case 'tag':
|
||||
|
||||
|
@ -209,7 +209,7 @@ function search_song($data,$operator,$method,$limit) {
|
|||
$ids[] = $row['object_id'];
|
||||
}
|
||||
|
||||
$where_sql = " `song`.`id` IN (" . implode(',',$ids) . ")";
|
||||
$where_sql = " `song`.`id` IN (" . implode(',',$ids) . ") $operator";
|
||||
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue