"liked_by.any" applies an ALL operator and not an ANY operator

Hi,

When using the search API, the field liked_by.any (and commented_on_by.any) doesn’t behave like expected: it pulls up tasks liked by ALL people you give, not ANY.

e.g. Bob likes comment A, Alice liked B, Bob and Alice both liked C. The search for liked_by.any=Alice,Bob will return only C.

It is important to note that it is coherent with the Advanced Search where the “liked by” field applies an (implicit) ALL operator. But the search, with an explicit any being given, shouldn’t in my opinion.

Hey @Bastien_Siebman , it’s me again :laughing:

I notified the API team and they think this is a bug. I don’t see a timeline for fixing, but you’re right: we should handle this correctly. Thanks for reporting it!

Oh great thanks for the reply!