@teselagen/ui 0.8.6-beta.22 → 0.8.6-beta.23
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/index.cjs.js +1 -1
- package/index.es.js +1 -1
- package/package.json +1 -1
- package/src/DataTable/utils/queryParams.js +1 -1
package/index.cjs.js
CHANGED
|
@@ -20196,7 +20196,7 @@ function getQueryParams({
|
|
|
20196
20196
|
order_by.push({ updatedAt: "desc" });
|
|
20197
20197
|
}
|
|
20198
20198
|
order_by.push(
|
|
20199
|
-
isCodeModel ? { code: "
|
|
20199
|
+
isCodeModel ? { code: "asc" } : { [window.__sortId || "id"]: "asc" }
|
|
20200
20200
|
);
|
|
20201
20201
|
return __spreadProps(__spreadValues({}, toRet), {
|
|
20202
20202
|
variables: {
|
package/index.es.js
CHANGED
|
@@ -20178,7 +20178,7 @@ function getQueryParams({
|
|
|
20178
20178
|
order_by.push({ updatedAt: "desc" });
|
|
20179
20179
|
}
|
|
20180
20180
|
order_by.push(
|
|
20181
|
-
isCodeModel ? { code: "
|
|
20181
|
+
isCodeModel ? { code: "asc" } : { [window.__sortId || "id"]: "asc" }
|
|
20182
20182
|
);
|
|
20183
20183
|
return __spreadProps(__spreadValues({}, toRet), {
|
|
20184
20184
|
variables: {
|
package/package.json
CHANGED
|
@@ -381,7 +381,7 @@ export function getQueryParams({
|
|
|
381
381
|
// in case entries that have the same value in the column being sorted on
|
|
382
382
|
// fall back to id as a secondary sort to make sure ordering happens correctly
|
|
383
383
|
order_by.push(
|
|
384
|
-
isCodeModel ? { code: "
|
|
384
|
+
isCodeModel ? { code: "asc" } : { [window.__sortId || "id"]: "asc" }
|
|
385
385
|
);
|
|
386
386
|
|
|
387
387
|
return {
|