I want to be able to show a Grid component with source table ‘Users’ that shows other users who speak any of the languages spoken by the current user. I do not want the component showing the current logged-in user in the grid.
I’ve managed to do this using filters with the OR operator, with a condition for each language spoken by current logged-in user, so something like this:
LangArray contains(UserProfile.lang1) OR LangArray contains(UserProfile.lang2) OR LangArray contains(UserProfile.lang3)
Of course, with this approach the component always includes the current user in the list, which isn’t ideal.
Is there a way to achieve what I want? The simplest solution would be for the filter to combine both AND and OR operators, but this doesn’t seem to be an option currently. Something like this:
user_id !== UserProfile.user_id AND (LangArray contains(UserProfile.lang1) OR LangArray contains(UserProfile.lang2) OR LangArray contains(UserProfile.lang3))
Thanks.