Skip to content

Commit 8d20dd0

Browse files
Make sure Advanced Filters are picked up (#399)
* Make sure Advanced Filters are picked up * Fix styling Co-authored-by: arthurkirkosa <[email protected]>
1 parent 4c23711 commit 8d20dd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Filters/AdvancedFiltersCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function apply(RestifyRequest $request, $query): self
2020

2121
public static function collectQueryFilters(RestifyRequest $request, Repository $repository): self
2222
{
23-
$filters = json_decode(base64_decode($request->query('filters')), true);
23+
$filters = json_decode(base64_decode($request->input('filters')), true);
2424

2525
$allowedFilters = $repository->collectAdvancedFilters($request);
2626

0 commit comments

Comments
 (0)