Skip to content

Commit

Permalink
fix: search distinct questioning
Browse files Browse the repository at this point in the history
  • Loading branch information
BettyB979 committed Dec 9, 2024
1 parent d6fc79f commit 3e3d358
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public Page<SearchQuestioningDto> searchQuestioning(String param, Pageable pagea
}

List<SearchQuestioningDto> searchDtos = pageQuestionings
.stream()
.stream().distinct()
.map(this::convertToSearchDto).toList();

return new PageImpl<>(searchDtos, pageable, pageQuestionings.getTotalElements());
Expand Down

0 comments on commit 3e3d358

Please sign in to comment.