We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd1f6c0 commit da5f142Copy full SHA for da5f142
src/Http/Controllers/ApiController.php
@@ -19,7 +19,7 @@ public function index(Request $request): LengthAwarePaginator
19
->selectFields($request->input('fields.blocks'))
20
->allowedSorts(['status_translated', 'name', 'body_translated'])
21
->allowedFilters([
22
- AllowedFilter::custom('name,body', new FilterOr),
+ AllowedFilter::custom('name,body', new FilterOr()),
23
])
24
->paginate($request->input('per_page'));
25
0 commit comments