Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
eucyt committed May 14, 2023
1 parent d652104 commit 7ab40ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laravel/app/Services/PaperService.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function search(?string $search_sentence): LengthAwarePaginator
});
}
}
return $query->paginate(15);
return $query->latest()->paginate(15);
}

/**
Expand Down

0 comments on commit 7ab40ba

Please sign in to comment.