mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Merge pull request #5474 from beganovich/v5-1904-sort-invoices
(v5) Sort invoices & recurring invoices by date (by default)
This commit is contained in:
commit
1f87f241db
@ -29,6 +29,8 @@ class InvoicesTable extends Component
|
||||
public function mount()
|
||||
{
|
||||
$this->sort_asc = false;
|
||||
|
||||
$this->sort_field = 'date';
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
@ -23,6 +23,13 @@ class RecurringInvoicesTable extends Component
|
||||
|
||||
public $per_page = 10;
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->sort_asc = false;
|
||||
|
||||
$this->sort_field = 'date';
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
$query = RecurringInvoice::query();
|
||||
|
Loading…
Reference in New Issue
Block a user