Show archived credits table

This commit is contained in:
Benjamin Beganović 2021-09-10 21:48:09 +02:00
parent a41c77ffba
commit b81f247de3

View File

@ -44,6 +44,7 @@ class CreditsTable extends Component
->orWhereNull('due_date'); ->orWhereNull('due_date');
}) })
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc') ->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
->withTrashed()
->paginate($this->per_page); ->paginate($this->per_page);
return render('components.livewire.credits-table', [ return render('components.livewire.credits-table', [