diff --git a/src/BUTR.Site.NexusMods.Server/Extensions/QueryableExtensions.cs b/src/BUTR.Site.NexusMods.Server/Extensions/QueryableExtensions.cs index 373248df..0d7c5419 100644 --- a/src/BUTR.Site.NexusMods.Server/Extensions/QueryableExtensions.cs +++ b/src/BUTR.Site.NexusMods.Server/Extensions/QueryableExtensions.cs @@ -55,9 +55,9 @@ public static Task> PaginatedAsync(this IQueryable(); - var sortings = query.Sotings is null || query.Sotings.Count == 0 + var sortings = query.Sortings is null || query.Sortings.Count == 0 ? defaultSorting == null ? Array.Empty() : new List { defaultSorting } - : query.Sotings; + : query.Sortings; return queryable .WithFilter(filters)