PS Filters - Backend
Opened this issue · 4 comments
pratham1002 commented
Add industry domain and preferred branches to station model. Support search filtering through them.
amey-g commented
May I pick this up?
pratham1002 commented
Yeah sure
amey-g commented
@pratham1002 Should I define the preferred branch as a string instead of an enum? It'll be easier to use regex that way.
pratham1002 commented
The branches for every station will have to be array as most stations will allow multiple branches so change the model a little.
Then to search in them, use the $in operator.