this is driving me crazy

This commit is contained in:
Howl 2016-08-23 16:39:57 +02:00
parent 42011ad10c
commit 3de3443d87

View File

@ -124,7 +124,7 @@ func getMultipleBeatmaps(md common.MethodData) common.CodeMessager {
Default: "id DESC", Default: "id DESC",
Table: "beatmaps", Table: "beatmaps",
}) })
where := common.Where("beatmapsetid = ?", md.Query("s")). where := common.Where("beatmapset_id = ?", md.Query("s")).
Where("song_name = ?", md.Query("song_name")). Where("song_name = ?", md.Query("song_name")).
Where("ranked_status_freezed = ?", md.Query("ranked_status_frozen"), "0", "1") Where("ranked_status_freezed = ?", md.Query("ranked_status_frozen"), "0", "1")