You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Doctrine/Orm/Filter/ExactFilter.php
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,11 @@ public function apply(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $q
36
36
$parameter = $context['parameter'];
37
37
$value = $parameter->getValue();
38
38
39
+
// associative arrays are operator-maps owned by ComparisonFilter/DateFilter, not equality
40
+
if (\is_array($value) && !array_is_list($value)) {
41
+
return;
42
+
}
43
+
39
44
if (null === $parameter->getProperty()) {
40
45
thrownewInvalidArgumentException(\sprintf('The filter parameter with key "%s" must specify a property. Please provide the property explicitly.', $parameter->getKey()));
0 commit comments