mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-15 21:43:03 +03:00
Add ability to sort on Genre, MusicGenre, Artist
This commit is contained in:
@@ -5469,7 +5469,9 @@ AND Type = @InternalPersonType)");
|
||||
|
||||
commandText += whereText + " group by PresentationUniqueKey";
|
||||
|
||||
if (query.SimilarTo != null || !string.IsNullOrEmpty(query.SearchTerm))
|
||||
if (query.OrderBy.Count != 0
|
||||
|| query.SimilarTo != null
|
||||
|| !string.IsNullOrEmpty(query.SearchTerm))
|
||||
{
|
||||
commandText += GetOrderByText(query);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user