Skip to content

Commit

Permalink
Update Export.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Nov 20, 2020
1 parent 31d78f4 commit 014e2ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Exports/Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Export implements WithColumnFormatting, ShouldAutoSize, FromCollection, Wi
public function __construct($request)
{
$this->collection = QueryBuilder::for(Place::class)
->selectFields($request->input('fields.places'))
->allowedSorts(['id', 'status_translated', 'title_translated'])
->allowedFilters([
AllowedFilter::custom('title', new FilterOr()),
Expand Down

0 comments on commit 014e2ac

Please sign in to comment.