Skip to Content
0

Combined "and" and "or" filters throws error

Jul 31, 2017 at 01:01 PM

41

avatar image

I have the following code, and terminating it results in this error:

"Wrong parameters defined for filter. -"

Please help me find out why, because I don't see any mistakes.

untitled.jpg (110.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Nabi Zamani Jul 31, 2017 at 02:18 PM
1

This should work:

var oFilter = new sap.ui.model.Filter({ filters: aFilters, and: false }); // OR filter

you missed the name of the property...

-Nabi

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you! That was it.

0