delete left over albums count query in getStarred2
This commit is contained in:
@@ -421,7 +421,6 @@ func (c *Controller) ServeGetStarredTwo(r *http.Request) *spec.Response {
|
|||||||
// artists
|
// artists
|
||||||
var artists []*db.Artist
|
var artists []*db.Artist
|
||||||
q := c.DB.
|
q := c.DB.
|
||||||
Select("*, count(albums.id) album_count").
|
|
||||||
Group("artists.id").
|
Group("artists.id").
|
||||||
Joins("JOIN artist_stars ON artist_stars.artist_id=artists.id").
|
Joins("JOIN artist_stars ON artist_stars.artist_id=artists.id").
|
||||||
Where("artist_stars.user_id=?", user.ID).
|
Where("artist_stars.user_id=?", user.ID).
|
||||||
|
|||||||
Reference in New Issue
Block a user