From 9e173ecc35f3acc339d92ed0c9cbc540a8b39ca4 Mon Sep 17 00:00:00 2001 From: hackerESQ Date: Fri, 27 Sep 2024 10:56:11 -0500 Subject: [PATCH] fix:order by asc on date --- resources/views/livewire/portfolio-performance-chart.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/livewire/portfolio-performance-chart.blade.php b/resources/views/livewire/portfolio-performance-chart.blade.php index 3d65119..aab1fc1 100644 --- a/resources/views/livewire/portfolio-performance-chart.blade.php +++ b/resources/views/livewire/portfolio-performance-chart.blade.php @@ -51,7 +51,8 @@ new class extends Component { SUM(total_dividends_earned) as total_dividends_earned */ ') - ->groupBy('date'); + ->groupBy('date') + ->orderBy('date'); }