It passes that as-is to the database query, but it needs to be transformed to LIKE conditions.

Comments

Berdir created an issue. See original summary.

arpad.rozsa’s picture

Status: Active » Needs review
StatusFileSize
new2.97 KB
berdir’s picture

Status: Needs review » Needs work

Nice trick with reusing the entity query API, didn't think of that.

Can we test this a bit in \Drupal\Tests\monitoring\Kernel\MonitoringCoreKernelTest::testDatabaseAggregator(), we should be able to add some alternative conditions with those operators quite easily.

arpad.rozsa’s picture

Status: Needs work » Needs review
StatusFileSize
new4.02 KB
new1.04 KB

Added tests for the two operators.

  • Berdir committed df78bc7 on 8.x-1.x authored by arpad.rozsa
    Issue #3046496 by arpad.rozsa: STARTS_WITH and CONTAINS conditions for...
berdir’s picture

Status: Needs review » Fixed

Nice!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.