This example in the documentation shows how to query the Rally WS API, using a single item in a filters array:
Ext.create('Rally.data.WsapiDataStore', {
model: userStoryModel,
fetch: true,
filters: [
{
property: 'ScheduleState',
operator: '<',
value: 'Accepted'
}
],
...
I know if I have a second filter to the filters array, it AND’s the two filters together. But how would I OR two filters?
You can use Rally.data.QueryFilter’s or method to do this: