Skip to content

Commit

Permalink
Hotfix: 폴더 별 링크 수 조회 시 휴지통에 있는 링크 까지 집계 되는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
suminnnnn committed Aug 28, 2024
1 parent 242a731 commit 400d9da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ public LinkResponse.LinkListDto findLinkFolderPaging(User user, Long folderId, P
Page<Link> linksPage = linkQueryAdapter.findByIdsAndUserAndIsTrashFalse(linkIds, user, pageable);

List<Link> links = linksPage.getContent();
int linkCount = linkFolders.size();
int linkCount = (int)linksPage.getTotalElements();

List<LinkResponse.LinkDto> linkDtos = links.stream()
.map(link -> LinkMapper.toLinkDto(link, folder.getTitle()))
Expand Down

0 comments on commit 400d9da

Please sign in to comment.