I have been unable to find in the documentation how to add multiple filters with logical or instead of and. Here is my code which results in a query like this:
filter=(SubscriptionId+eq+0+and+SubscriptionId+eq+472)
what I want is this:
filter=(SubscriptionId+eq+0+or+SubscriptionId+eq+472)
Is there any way to do this?
filter=(SubscriptionId+eq+0+and+SubscriptionId+eq+472)
what I want is this:
filter=(SubscriptionId+eq+0+or+SubscriptionId+eq+472)
Is there any way to do this?
$(
"#ambulation2"
).kendoDropDownList({
dataTextField:
"Ambulation"
,
dataValueField:
"AmbulationId"
,
dataSource: {
type:
"odata"
,
serverFiltering:
true
,
transport: {
read:
"
/yglservice.svc/RefAmbulations"
,
dataType:
'jsonp'
,
cache:
true
},
filter: [{
field:
"SubscriptionId"
,
operator:
"eq"
,
value: 0
},{
field:
"SubscriptionId"
,
operator:
"eq"
,
value: @UserInfo.SubscriptionId.ToString()
}]
}
});