Skip to content

Commit

Permalink
Merge pull request #139 from EFUB4-Jukebox/develop
Browse files Browse the repository at this point in the history
[Deploy] 배포 v0.4.9 - 노래 검색 정렬기준 COUNT 에러 해결
  • Loading branch information
seohyun-lee authored Aug 2, 2024
2 parents 8a4ad7d + 210bfdf commit bb998e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ORDER BY COUNT(p) DESC, s.songId DESC
"LEFT JOIN pin p ON s.song_id = p.song_id " +
"WHERE REPLACE(s.title, ' ', '') LIKE %:keywordNoSpaces% " +
"OR REPLACE(s.artist, ' ', '') LIKE %:keywordNoSpaces% " +
"GROUP BY s.song_id" +
"GROUP BY s.song_id " +
"ORDER BY pin_count DESC, s.title ASC",
countQuery = "SELECT COUNT(DISTINCT s.song_id) " +
"FROM song s " +
Expand Down

0 comments on commit bb998e2

Please sign in to comment.