Addressed additional unsupported array spread operation

This commit is contained in:
Dan Brown 2022-11-03 14:40:01 +00:00
parent 37afd35b6f
commit 9e8240a736
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -29,10 +29,9 @@ class TagController extends Controller
$tags = $this->tagRepo
->queryWithTotals($listOptions, $nameFilter)
->paginate(50)
->appends(array_filter([
...$listOptions->getPaginationAppends(),
->appends(array_filter(array_merge($listOptions->getPaginationAppends(), [
'name' => $nameFilter,
]));
])));
$this->setPageTitle(trans('entities.tags'));