ssossossossosso

Forums

Forums OroPlatform OroPlatform – Feature Requests "Contains any of" filter modifier

This topic contains 1 reply, has 2 voices, and was last updated by  Artem Liubeznyi 2 years, 6 months ago.

  • Creator
    Topic
  • #31036

    Alexander
    Participant

    Hi.

    Text filters has “Contains” and “Is Any Of” modifiers now. It Allows to find substring or any of words from search query. But “Any of” searches only by comparing strings fully. E.g. with search query “foo bar” it would be found “foo” and “bar”, but not “foo baz”.

    There are cases when it needs to find “any of substring”, combination of “Contains” and “Is Any Of” modifiers, i.e. to find “foo baz” and “baz bar” by search query “foo bar”.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #31037

    Artem Liubeznyi
    Keymaster

    Hi Alexander,

    I would suggest combining two queries with OR clause: “contains “foo” or contains “bar”” to get the results you need.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.