-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
2 issues:
- the $property passed to the filterProperty function is 'regexp_$property' instead of the correct property only. This always bypasses the filter, because, apparently such a property (regex_...) is neither enabled, nor mapped. In addition, even if we skip the bypass, we have issues when using $property in queryBuilder andWhere expressions.
- REGEXP expression is not functioning by default in symfony (apparently requires some extra bundle). Maybe use another example that works out of the box.
Finally, one side question:
!$this->isPropertyEnabled($property, $resourceClass) ||
!$this->isPropertyMapped($property, $resourceClass)
Can anyone explain concisely how this logic operates? For some reason, I cannot enable a filter on toMany relationship, as this is always triggered.
Metadata
Metadata
Assignees
Labels
No labels