Commit ce145c14 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Artist: Only fetch the required fields

parent 48017dd3
......@@ -450,7 +450,7 @@ Query<IArtist> Artist::searchByGenre( MediaLibraryPtr ml, const std::string& pat
"ORDER BY a.name";
if ( params != nullptr && params->desc == true )
req += " DESC";
return make_query<Artist, IArtist>( ml, "*", std::move( req ), pattern, genreId );
return make_query<Artist, IArtist>( ml, "a.*", std::move( req ), pattern, genreId );
}
std::string Artist::sortRequest( const QueryParameters* params )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment