You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to filter all users with admin: true OR disabled: false
If I use {{ users | filterBy: ['admin', 'disabled']: [true, false] }}"
it prints all users because condition is admin is true or false OR disabled is true or false.
If I use {{ users | filterBy: ['admin']: true | filterBy: ['disabled']: false }}"
it prints none because nothing has admin: true AND disabled: false
I'm submitting a ... (check one with "x")
I have this json:
I need to filter all users with admin: true OR disabled: false
If I use
{{ users | filterBy: ['admin', 'disabled']: [true, false] }}"
it prints all users because condition is admin is true or false OR disabled is true or false.
If I use
{{ users | filterBy: ['admin']: true | filterBy: ['disabled']: false }}"
it prints none because nothing has admin: true AND disabled: false
My expected output is:
The text was updated successfully, but these errors were encountered: