Problem/Motivation

currently, this query results in an error:
$this->repository->findBy(['field_category' => [1,2]]);

Proposed resolution

Check if the values is an array. When that's the case, create an in condition.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

JeroenT created an issue. See original summary.

jeroent’s picture

Issue summary: View changes
mheip’s picture

Status: Active » Reviewed & tested by the community

This iix works for me - merge & release I say

  • JeroenT committed 57331ec on 2.0.x
    Issue #3222831 by JeroenT: make it possible to pass an array of values...
jeroent’s picture

Status: Reviewed & tested by the community » Fixed
jeroent’s picture

Status: Fixed » Closed (fixed)

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