diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-03-23 00:59:22 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-23 00:59:22 +0900 |
| commit | 7270997e768a7ceec391809f8185b5d08ff249bb (patch) | |
| tree | cee9e8b17b3cfb9f6073620b6456b9f27b87330d /Emby.Server.Implementations/Data/SqliteItemRepository.cs | |
| parent | a9f3b5dacbd67ac9df65c5b7bbeef159bbb40aa7 (diff) | |
add code suggestions
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteItemRepository.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index 0819379cd..0eb396af4 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -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)); |
