mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Merge pull request #5929 from crobibero/sort
This commit is contained in:
@@ -5463,7 +5463,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