mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 12:54:29 -04:00
Show trashed documents
This commit is contained in:
parent
e6474b2d07
commit
2d9730191f
@ -53,7 +53,10 @@ class DocumentsTable extends Component
|
||||
public function render()
|
||||
{
|
||||
return render('components.livewire.documents-table', [
|
||||
'documents' => $this->query->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')->paginate($this->per_page),
|
||||
'documents' => $this->query
|
||||
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
|
||||
->withTrashed()
|
||||
->paginate($this->per_page),
|
||||
]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user