Skip to content

Commit

Permalink
[DELETE] totalElements in SearchServiceImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
jhhong0509 committed May 25, 2021
1 parent 94a7332 commit c642f5c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public ReportListResponse searchReport(Pageable pageable, String title) {
Page<Report> reportPage = reportRepository.findAllByReportTypeAccessAndStatusIsAcceptedTrueAndStatusIsSubmittedTrueAndTitleContainsOrderByCreatedAtDesc(Access.EVERY, title, pageable);

return ReportListResponse.builder()
.totalElements(reportPage.getTotalElements())
.totalPages(reportPage.getTotalPages())
.reportResponses(reportPage
.map(reportMapper::entityToResponse)
Expand Down

0 comments on commit c642f5c

Please sign in to comment.