Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Update FromRequest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hcaz authored Jun 6, 2022
1 parent 789e9f5 commit 2a26198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FromRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function (Builder $sub_query) use ($request, $namespace, $key) {
$query = $query->whereHas(
$key,
function (Builder $sub_query) use ($request, $namespace, $key) {
$sub_query->fromRequest($request, "$namespace.has_not.$key");
$sub_query->fromRequest($request, "$namespace.has.$key");
}
);
}
Expand Down

0 comments on commit 2a26198

Please sign in to comment.