apigee-edge-drupal icon indicating copy to clipboard operation
apigee-edge-drupal copied to clipboard

EntityQuery: Add support for filtering by attribute value

Open mxr576 opened this issue 2 years ago • 1 comments

Closes #949

TODOs

  • [ ] Extend test coverage in https://github.com/apigee/apigee-edge-drupal/blob/3.x/tests/src/Unit/ConditionTest.php (#helpWanted)

mxr576 avatar Oct 05 '23 10:10 mxr576

Original version of this PR works great for filtering on attribute names that does NOT contain any underscores. If an attribute contains underscores (eg. foo_bar), then the original version was looking for a "normalized" attribute name (eg. fooBar).

The updated version allows underscores in attribute names, by NOT normalizing the attribute name if the Condition's $property starts with AttributeValue..

boobaa avatar Mar 25 '24 06:03 boobaa