Skip to content

Commit

Permalink
fix: sort feedback report
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Oct 10, 2023
1 parent 49aead7 commit 4600dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function mentors()
*/
public function feedback()
{
$feedback = Feedback::all();
$feedback = Feedback::all()->sortByDesc('created_at');

return view('reports.feedback', compact('feedback'));
}
Expand Down

0 comments on commit 4600dfd

Please sign in to comment.