node-simple-collectionmodel
Advanced tools
Comparing version 1.3.32 to 1.3.33
@@ -279,4 +279,3 @@ 'use strict'; | ||
if (query.search) { | ||
searchQuery = util.makeSearchObject(query.search, this.searchFields, this.searchFieldsNum, | ||
this.searchFieldsArray, options); | ||
searchQuery = util.makeSearchObject(query.search, this.searchFields, this.searchFieldsNum, options.useTextIndexCombined); | ||
delete query.search; | ||
@@ -317,3 +316,3 @@ } | ||
function: 'find', | ||
params: query, | ||
params: finalQuery, | ||
hrstart, | ||
@@ -378,4 +377,3 @@ runId, | ||
const { hrstart, runId } = util.startTimer(); | ||
const query = util.makeSearchObject(searchTerm, this.searchFields, this.searchFieldsNum, | ||
this.searchFieldsArray, options); | ||
const query = util.makeSearchObject(searchTerm, this.searchFields, this.searchFieldsNum, options.useTextIndexCombined); | ||
delete options.query; | ||
@@ -382,0 +380,0 @@ const list = await this.find(query, fields, options); |
{ | ||
"name": "node-simple-collectionmodel", | ||
"description": "A simpel and nice collection model for mongoose stuff.", | ||
"version": "1.3.32", | ||
"version": "1.3.33", | ||
"homepage": "https://github.com/5orenso/node-simple-collectionmodel", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36710
699