Skip to content

Commit

Permalink
Merge branch 'develop' into patch6
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed Mar 20, 2024
2 parents 664e0bc + 2377172 commit fb1009b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Module/Playlist/Search/AlbumDiskSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ public function getSql(
} else {
$where[] = "`song`.`file` $operator_sql ?";
}
$where[] = "`song`.`file` $operator_sql ?";
$parameters[] = $input;
$join['song'] = true;
break;
Expand Down
2 changes: 0 additions & 2 deletions src/Module/Playlist/Search/SongSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ public function getSql(
} else {
$where[] = "(`artist`.`name` $operator_sql ? OR LTRIM(CONCAT(COALESCE(`artist`.`prefix`, ''), ' ', `artist`.`name`)) $operator_sql ?)";
}
$where[] = "(`artist`.`name` $operator_sql ? OR LTRIM(CONCAT(COALESCE(`artist`.`prefix`, ''), ' ', `artist`.`name`)) $operator_sql ?)";
$parameters = array_merge($parameters, array($input, $input));
$join['artist'] = true;
break;
Expand All @@ -163,7 +162,6 @@ public function getSql(
} else {
$where[] = "((`album_artist`.`name` $operator_sql ? OR LTRIM(CONCAT(COALESCE(`album_artist`.`prefix`, ''), ' ', `album_artist`.`name`)) $operator_sql ?))";
}
$where[] = "(`album_artist`.`name` $operator_sql ? OR LTRIM(CONCAT(COALESCE(`album_artist`.`prefix`, ''), ' ', `album_artist`.`name`)) $operator_sql ?)";
$parameters = array_merge($parameters, array($input, $input));
$table['album'] = "LEFT JOIN `album` ON `song`.`album` = `album`.`id`";
$table['album_artist'] = "LEFT JOIN `artist` AS `album_artist` ON `album`.`album_artist` = `album_artist`.`id`";
Expand Down
1 change: 0 additions & 1 deletion src/Module/Playlist/Search/VideoSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public function getSql(
} else {
$where[] = "`video`.`file` $operator_sql ?";
}
$where[] = "`video`.`file` $operator_sql ?";
$parameters[] = $input;
break;
} // switch on ruletype
Expand Down

0 comments on commit fb1009b

Please sign in to comment.