c2-mongoose 2.1.176 → 2.1.177

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -189,6 +189,7 @@ var SearchFlow = /** @class */ (function () {
189
189
  ], {
190
190
  collation: {
191
191
  locale: "pt",
192
+ numericOrdering: true
192
193
  }
193
194
  }).session(options === null || options === void 0 ? void 0 : options.session)];
194
195
  case 1:
@@ -268,6 +269,7 @@ var SearchFlow = /** @class */ (function () {
268
269
  ], {
269
270
  collation: {
270
271
  locale: "pt",
272
+ numericOrdering: true
271
273
  }
272
274
  }).session(options === null || options === void 0 ? void 0 : options.session)];
273
275
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-mongoose",
3
- "version": "2.1.176",
3
+ "version": "2.1.177",
4
4
  "description": "Lib to make any search in database mongoose and use as basic crud",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -170,6 +170,7 @@ abstract class SearchFlow {
170
170
  ], {
171
171
  collation: {
172
172
  locale: "pt",
173
+ numericOrdering: true
173
174
  }
174
175
  }
175
176
  ).session(options?.session as ClientSession)
@@ -245,6 +246,7 @@ abstract class SearchFlow {
245
246
  ], {
246
247
  collation: {
247
248
  locale: "pt",
249
+ numericOrdering: true
248
250
  }
249
251
  }).session(options?.session as ClientSession)
250
252