I noticed that in the roadmap for Peoples there is going to be future support for &where. It appears that in the current version there is support.
I am trying to create a list of users excluding 2 particular ones
The below works:
[[!Peoples? &limit=`0` &tpl=`userNameListTPL` &where=`{"User.id:!=":88`]]
and hides the particular user with an id of 88
Going by an &where sample from getResources the below does not work:
[[!Peoples? &limit=`0` &tpl=`userNameListTPL` &where=`{"User.id:!=":88, "OR:User.id:!=":5}`]]
or
[[!Peoples? &limit=`0` &tpl=`userNameListTPL` &where=`{"User.id:!=":[88,5]}`]]
This will display the users with id 88 or 5
Am I doing something incorrectly or this because the &where function in Peoples is not fully working yet.
Are there any alternatives for me to achieve a similar outcome?