Skip to content

Commit 4a6b39c

Browse files
committed
Update Export.php
1 parent 6ae4152 commit 4a6b39c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Exports/Export.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Export implements WithColumnFormatting, ShouldAutoSize, FromCollection, Wi
2121
public function __construct($request)
2222
{
2323
$this->collection = QueryBuilder::for(Object::class)
24+
->selectFields($request->input('fields.objects'))
2425
->allowedSorts(['status_translated', 'title_translated'])
2526
->allowedFilters([
2627
AllowedFilter::custom('title', new FilterOr()),

0 commit comments

Comments
 (0)