c2-mongoose 2.1.174 → 2.1.176
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.
package/dist/flow/SearchFlow.js
CHANGED
|
@@ -186,7 +186,11 @@ var SearchFlow = /** @class */ (function () {
|
|
|
186
186
|
{
|
|
187
187
|
$facet: facet
|
|
188
188
|
},
|
|
189
|
-
]
|
|
189
|
+
], {
|
|
190
|
+
collation: {
|
|
191
|
+
locale: "pt",
|
|
192
|
+
}
|
|
193
|
+
}).session(options === null || options === void 0 ? void 0 : options.session)];
|
|
190
194
|
case 1:
|
|
191
195
|
result = _d.sent();
|
|
192
196
|
if (!((0, Utils_1.isNotEmpty)(this.populate) && Array.isArray(this.populate))) return [3 /*break*/, 5];
|
|
@@ -264,7 +268,6 @@ var SearchFlow = /** @class */ (function () {
|
|
|
264
268
|
], {
|
|
265
269
|
collation: {
|
|
266
270
|
locale: "pt",
|
|
267
|
-
numericOrdering: true
|
|
268
271
|
}
|
|
269
272
|
}).session(options === null || options === void 0 ? void 0 : options.session)];
|
|
270
273
|
case 1:
|
package/package.json
CHANGED
package/src/flow/SearchFlow.ts
CHANGED
|
@@ -167,7 +167,11 @@ abstract class SearchFlow {
|
|
|
167
167
|
{
|
|
168
168
|
$facet: facet
|
|
169
169
|
},
|
|
170
|
-
]
|
|
170
|
+
], {
|
|
171
|
+
collation: {
|
|
172
|
+
locale: "pt",
|
|
173
|
+
}
|
|
174
|
+
}
|
|
171
175
|
).session(options?.session as ClientSession)
|
|
172
176
|
|
|
173
177
|
if (isNotEmpty(this.populate) && Array.isArray(this.populate)) {
|
|
@@ -241,7 +245,6 @@ abstract class SearchFlow {
|
|
|
241
245
|
], {
|
|
242
246
|
collation: {
|
|
243
247
|
locale: "pt",
|
|
244
|
-
numericOrdering: true
|
|
245
248
|
}
|
|
246
249
|
}).session(options?.session as ClientSession)
|
|
247
250
|
|