@taruvi/refine-providers 1.3.4-beta.3 → 1.3.4-beta.4
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11,7 +11,7 @@ var DataLoader__default = /*#__PURE__*/_interopDefault(DataLoader);
|
|
|
11
11
|
|
|
12
12
|
// package.json
|
|
13
13
|
var package_default = {
|
|
14
|
-
version: "1.3.4-beta.
|
|
14
|
+
version: "1.3.4-beta.4"};
|
|
15
15
|
|
|
16
16
|
// src/filterTypes.ts
|
|
17
17
|
var REFINE_OPERATOR_MAP = {
|
|
@@ -449,7 +449,7 @@ function applyFilters(query, filters) {
|
|
|
449
449
|
}
|
|
450
450
|
function applySorters(query, sorters) {
|
|
451
451
|
const ordering = convertRefineSorters(sorters);
|
|
452
|
-
return ordering ? query.
|
|
452
|
+
return ordering ? query.sort(ordering) : query;
|
|
453
453
|
}
|
|
454
454
|
function applyPagination(query, pagination) {
|
|
455
455
|
if (!pagination || pagination.mode === "off") return query;
|