From bb7f9c64d5e592b7cc6d6184a8beb32e13c29aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Sat, 10 Apr 2021 12:48:51 +0200 Subject: [PATCH] Sort invoices in descending order --- app/Http/Livewire/InvoicesTable.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Http/Livewire/InvoicesTable.php b/app/Http/Livewire/InvoicesTable.php index d31338f25611..f17f05464bf1 100644 --- a/app/Http/Livewire/InvoicesTable.php +++ b/app/Http/Livewire/InvoicesTable.php @@ -26,6 +26,11 @@ class InvoicesTable extends Component public $status = []; + public function mount() + { + $this->sort_asc = false; + } + public function render() { $local_status = [];