Skip to content

Commit

Permalink
user search split query
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Mar 15, 2024
1 parent 7af2e4c commit 1128359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/Jordnaer/Features/UserSearch/UserSearchService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public async Task<UserSearchResult> GetUsersAsync(UserSearchFilter filter, Cance
.Take(filter.PageSize)
.Include(user => user.Categories)
.Include(user => user.ChildProfiles)
.AsSingleQuery()
.AsSplitQuery()
.Select(user => new UserDto
{
ProfilePictureUrl = user.ProfilePictureUrl,
Expand Down

0 comments on commit 1128359

Please sign in to comment.