@@ 69-76 (lines=8) @@ | ||
66 | protected function filterProperty(string $property, $values, QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string $operationName = null) |
|
67 | { |
|
68 | // Expect $values to be an array having the period as keys and the date value as values |
|
69 | if ( |
|
70 | !is_array($values) || |
|
71 | !$this->isPropertyEnabled($property, $resourceClass) || |
|
72 | !$this->isPropertyMapped($property, $resourceClass) || |
|
73 | !$this->isDateField($property, $resourceClass) |
|
74 | ) { |
|
75 | return; |
|
76 | } |
|
77 | ||
78 | $alias = 'o'; |
|
79 | $field = $property; |
@@ 65-71 (lines=7) @@ | ||
62 | */ |
|
63 | protected function filterProperty(string $property, $values, QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, string $operationName = null) |
|
64 | { |
|
65 | if ( |
|
66 | !is_array($values) || |
|
67 | !$this->isPropertyEnabled($property, $resourceClass) || |
|
68 | !$this->isPropertyMapped($property, $resourceClass) |
|
69 | ) { |
|
70 | return; |
|
71 | } |
|
72 | ||
73 | $alias = 'o'; |
|
74 | $field = $property; |