Skip to content

Commit

Permalink
fix the dublicated returned posts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mh-Asmi committed Jan 18, 2024
1 parent 7755162 commit 99c4ede
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ public function paginate(
if (count($with)) {
$query->with($with);
}
$query->distinct();

return $query->paginate($paging->getLimit());
}
Expand Down

0 comments on commit 99c4ede

Please sign in to comment.