akveo / akveo/ng2-smart-table

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

Open
#1,348 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.