How do I pass multiple arguments into a filter?
Trying the following
mylist = $filter('filter')(array, {'field': 'param1'} || {'field': 'param2'} );
but this only uses the first filter param rather than both.
What is the correct syntax?
How do I pass multiple arguments into a filter?
Trying the following
mylist = $filter('filter')(array, {'field': 'param1'} || {'field': 'param2'} );
but this only uses the first filter param rather than both.
What is the correct syntax?