From 1128359f7f7e4be22255ea08cdc8e44f24e4ae52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Fri, 15 Mar 2024 21:21:06 +0100 Subject: [PATCH] user search split query --- src/web/Jordnaer/Features/UserSearch/UserSearchService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/Jordnaer/Features/UserSearch/UserSearchService.cs b/src/web/Jordnaer/Features/UserSearch/UserSearchService.cs index 520923e9..26bc4d74 100644 --- a/src/web/Jordnaer/Features/UserSearch/UserSearchService.cs +++ b/src/web/Jordnaer/Features/UserSearch/UserSearchService.cs @@ -72,7 +72,7 @@ public async Task GetUsersAsync(UserSearchFilter filter, Cance .Take(filter.PageSize) .Include(user => user.Categories) .Include(user => user.ChildProfiles) - .AsSingleQuery() + .AsSplitQuery() .Select(user => new UserDto { ProfilePictureUrl = user.ProfilePictureUrl,