Skip to content

Commit

Permalink
fix exist
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed May 1, 2021
1 parent 34f7000 commit 710d3c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Scope/Condition.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ public function toQueryArguments(): array
} else {
$refModel->addCondition($field, $operator, $value);
$field = $refModel->action('exists');
$operator = '>';
$value = 0;
$operator = '=';
$value = true;
}
}
} else {
Expand Down

0 comments on commit 710d3c4

Please sign in to comment.