Loopback Default Filter
This loopback middleware adds a default filter to requests that accept a query
Useage
Install
npm i loopback-default-filter --save
Integrate with Loopback
Include the mixin in your model-config.json
file
Then add the mix in to your model.json
file
"mixins": ,
Options
I know there is supposed to be a way to do this through the loopback scope but it had some strange behavior so I just made a mixin to fix this
You can put whatever where filter you want in the mixin opitons
"mixins": ,