akveo / ng2-smart-table

Angular Smart Data Table component
https://akveo.github.io/ng2-smart-table/
MIT License
1.63k stars 878 forks source link

Is there a way to combine AND and OR operators in the setFilter function? #1348

Open iliasmoysidis opened 1 year ago

iliasmoysidis commented 1 year ago

Is there a way to feed the setFilter function with the following pseudo-filter:

(firstName: 'John' OR lastName: 'John' OR email: 'John') AND ((sectorsOfInterest: 'Solar-thermal facade') AND (sectorsOfInterest: 'Air Quality')) AND (areaOfStudies: 'Technological') AND (fieldsOfWork: 'Business') ?

I am basically wondering if there is a way to combine AND and OR operators within filters.