Skip to content

Commit 58f6509

Browse files
committed
fix: revert input vs query for filtering
1 parent a55a197 commit 58f6509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Filters/MatchesCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public function inQuery(RestifyRequest $request): self
6666
}
6767
}
6868

69-
return ! is_null($request->input("-{$filter->column()}"))
70-
|| ! is_null($request->input($filter->column()));
69+
return ! is_null($request->query("-{$filter->column()}"))
70+
|| ! is_null($request->query($filter->column()));
7171
});
7272
}
7373

0 commit comments

Comments
 (0)