Fixed regression on lookup performance (introduced when added track/artist links)
This commit is contained in:
@@ -617,7 +617,7 @@ artistToResponseNode(const Database::User::pointer& user, const Database::Artist
|
||||
artistNode.setAttribute("name", artist->getName());
|
||||
|
||||
if (id3)
|
||||
artistNode.setAttribute("albumCount", std::to_string(artist->getReleases().size()));
|
||||
artistNode.setAttribute("albumCount", std::to_string(artist->getReleaseCount()));
|
||||
|
||||
if (user->hasStarredArtist(artist))
|
||||
artistNode.setAttribute("starred", reportedStarredDate);
|
||||
|
||||
Reference in New Issue
Block a user