diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-11-09 08:35:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-09 08:35:33 +0100 |
| commit | 6f85e3047591e716d732a648466c700769404f7c (patch) | |
| tree | 75f4acce165890b11921854cfb8a91e0b3551165 /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | 958a4f509c0d8a326eedc6a95a9f9e2d31e5391f (diff) | |
| parent | 64652b639299ecd9a692f89a7bbda3f827129fa3 (diff) | |
Merge pull request #6806 from crobibero/dotnet6
Update to full dotnet 6
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index 18b4ec3c6..fc6380e1a 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -1013,6 +1013,7 @@ namespace MediaBrowser.Controller.Entities items = CollapseBoxSetItemsIfNeeded(items, query, this, user, ConfigurationManager, CollectionManager); } + #pragma warning disable CA1309 if (!string.IsNullOrEmpty(query.NameStartsWithOrGreater)) { items = items.Where(i => string.Compare(query.NameStartsWithOrGreater, i.SortName, StringComparison.InvariantCultureIgnoreCase) < 1); @@ -1027,6 +1028,7 @@ namespace MediaBrowser.Controller.Entities { items = items.Where(i => string.Compare(query.NameLessThan, i.SortName, StringComparison.InvariantCultureIgnoreCase) == 1); } + #pragma warning restore CA1309 // This must be the last filter if (!string.IsNullOrEmpty(query.AdjacentTo)) |
