diff --git a/OneShelf.Frontend/OneShelf.Frontend.Web/Pages/Print.razor b/OneShelf.Frontend/OneShelf.Frontend.Web/Pages/Print.razor index 21adf9ab..c728eb15 100644 --- a/OneShelf.Frontend/OneShelf.Frontend.Web/Pages/Print.razor +++ b/OneShelf.Frontend/OneShelf.Frontend.Web/Pages/Print.razor @@ -46,11 +46,11 @@ else }
Люблю: - + - + - +
diff --git a/OneShelf.Frontend/OneShelf.Frontend.Web/Shared/SearchResultsLocal.razor b/OneShelf.Frontend/OneShelf.Frontend.Web/Shared/SearchResultsLocal.razor index 24bb7f88..55b39cc2 100644 --- a/OneShelf.Frontend/OneShelf.Frontend.Web/Shared/SearchResultsLocal.razor +++ b/OneShelf.Frontend/OneShelf.Frontend.Web/Shared/SearchResultsLocal.razor @@ -503,7 +503,7 @@ else .ThenByDescending(x => x.x.TemplateRating), SongsMode.NewestLike => songs .Select(x => ((string?)null, (int?)null, x)) - .OrderByDescending(x => x.x.Likes.Where(ShortlistedUserId.HasValue ? x => x.UserId == ShortlistedUserId : LikeCategoryId.HasValue ? x => x.LikeCategoryId == LikeCategoryId : x => true).Max(x => x.CreatedOn)) + .OrderByDescending(x => x.x.Likes.Where(ShortlistedUserId.HasValue ? x => x.UserId == ShortlistedUserId : LikeCategoryId.HasValue ? x => x.LikeCategoryId == LikeCategoryId : _ => true).Max(x => x.CreatedOn)) .ThenByDescending(x => x.x.TemplateRating), SongsMode.IndexDesc => songs .Select(x => ((string?)null, (int?)null, x))