add code suggestions

Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
This commit is contained in:
dkanada 2020-03-23 00:59:22 +09:00 committed by GitHub
parent a9f3b5dacb
commit 7270997e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2925,6 +2925,7 @@ namespace Emby.Server.Implementations.Data
prepend.Add(("SearchScore", SortOrder.Descending));
prepend.Add((ItemSortBy.SortName, SortOrder.Ascending));
}
if (hasSimilar)
{
prepend.Add(("SimilarityScore", SortOrder.Descending));