File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 "watch" : " babel --watch -d lib/ src/" ,
3636 "jshint" : " jshint src/. test/. --config" ,
3737 "mocha" : " mocha test/ --compilers js:babel-core/register" ,
38- "test" : " npm run compile && npm run jshint && npm run mocha && nsp check " ,
38+ "test" : " npm run compile && npm run jshint && npm run mocha" ,
3939 "start" : " node example/app.js"
4040 },
4141 "directories" : {
4444 "dependencies" : {
4545 "feathers-commons" : " ^0.7.1" ,
4646 "feathers-errors" : " ^2.0.1" ,
47- "feathers-query-filters" : " ^1.1.1 " ,
47+ "feathers-query-filters" : " ^2.0.0 " ,
4848 "uberproto" : " ^1.2.0"
4949 },
5050 "devDependencies" : {
5858 "feathers-service-tests" : " ^0.6.0" ,
5959 "feathers-socketio" : " ^1.3.3" ,
6060 "jshint" : " ^2.8.0" ,
61- "mocha" : " ^2.5.0" ,
62- "nsp" : " ^2.2.0"
61+ "mocha" : " ^2.5.0"
6362 }
6463}
Original file line number Diff line number Diff line change @@ -44,8 +44,7 @@ class Service {
4444 // Find without hooks and mixins that can be used internally and always returns
4545 // a pagination object
4646 _find ( params , getFilter = filter ) {
47- const query = params . query || { } ;
48- const filters = getFilter ( query ) ;
47+ const { query, filters } = getFilter ( params . query || { } ) ;
4948
5049 let values = _ . values ( this . store ) . filter ( matcher ( query ) ) ;
5150
You canāt perform that action at this time.
0 commit comments