@fctc/widget-logic 5.1.3 → 5.1.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/hooks.js +2 -2
- package/dist/hooks.mjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/widget.js +2 -2
- package/dist/widget.mjs +2 -2
- package/package.json +1 -1
package/dist/hooks.js
CHANGED
|
@@ -916,9 +916,9 @@ var useListData = ({
|
|
|
916
916
|
const offset = debouncedPage * pageLimit;
|
|
917
917
|
const fields = typeof groupByList === "object" ? groupByList?.fields : void 0;
|
|
918
918
|
const groupby = typeof groupByList === "object" ? [groupByList?.contexts?.[0]?.group_by] : [];
|
|
919
|
-
const sort = order
|
|
919
|
+
const sort = order ?? (0, import_utils5.formatSortingString)(
|
|
920
920
|
(mode === "kanban" ? viewData?.views?.kanban : viewData?.views?.list)?.default_order
|
|
921
|
-
)
|
|
921
|
+
) ?? "";
|
|
922
922
|
return {
|
|
923
923
|
model: action?.res_model,
|
|
924
924
|
specification,
|
package/dist/hooks.mjs
CHANGED
|
@@ -901,9 +901,9 @@ var useListData = ({
|
|
|
901
901
|
const offset = debouncedPage * pageLimit;
|
|
902
902
|
const fields = typeof groupByList === "object" ? groupByList?.fields : void 0;
|
|
903
903
|
const groupby = typeof groupByList === "object" ? [groupByList?.contexts?.[0]?.group_by] : [];
|
|
904
|
-
const sort = order
|
|
904
|
+
const sort = order ?? formatSortingString(
|
|
905
905
|
(mode === "kanban" ? viewData?.views?.kanban : viewData?.views?.list)?.default_order
|
|
906
|
-
)
|
|
906
|
+
) ?? "";
|
|
907
907
|
return {
|
|
908
908
|
model: action?.res_model,
|
|
909
909
|
specification,
|
package/dist/index.js
CHANGED
|
@@ -4988,9 +4988,9 @@ var useListData = ({
|
|
|
4988
4988
|
const offset = debouncedPage * pageLimit;
|
|
4989
4989
|
const fields = typeof groupByList === "object" ? groupByList?.fields : void 0;
|
|
4990
4990
|
const groupby = typeof groupByList === "object" ? [groupByList?.contexts?.[0]?.group_by] : [];
|
|
4991
|
-
const sort = order
|
|
4991
|
+
const sort = order ?? (0, import_utils5.formatSortingString)(
|
|
4992
4992
|
(mode === "kanban" ? viewData?.views?.kanban : viewData?.views?.list)?.default_order
|
|
4993
|
-
)
|
|
4993
|
+
) ?? "";
|
|
4994
4994
|
return {
|
|
4995
4995
|
model: action?.res_model,
|
|
4996
4996
|
specification,
|
package/dist/index.mjs
CHANGED
|
@@ -5082,9 +5082,9 @@ var useListData = ({
|
|
|
5082
5082
|
const offset = debouncedPage * pageLimit;
|
|
5083
5083
|
const fields = typeof groupByList === "object" ? groupByList?.fields : void 0;
|
|
5084
5084
|
const groupby = typeof groupByList === "object" ? [groupByList?.contexts?.[0]?.group_by] : [];
|
|
5085
|
-
const sort = order
|
|
5085
|
+
const sort = order ?? formatSortingString(
|
|
5086
5086
|
(mode === "kanban" ? viewData?.views?.kanban : viewData?.views?.list)?.default_order
|
|
5087
|
-
)
|
|
5087
|
+
) ?? "";
|
|
5088
5088
|
return {
|
|
5089
5089
|
model: action?.res_model,
|
|
5090
5090
|
specification,
|
package/dist/widget.js
CHANGED
|
@@ -4518,9 +4518,9 @@ var useListData = ({
|
|
|
4518
4518
|
const offset = debouncedPage * pageLimit;
|
|
4519
4519
|
const fields = typeof groupByList === "object" ? groupByList?.fields : void 0;
|
|
4520
4520
|
const groupby = typeof groupByList === "object" ? [groupByList?.contexts?.[0]?.group_by] : [];
|
|
4521
|
-
const sort = order
|
|
4521
|
+
const sort = order ?? (0, import_utils5.formatSortingString)(
|
|
4522
4522
|
(mode === "kanban" ? viewData?.views?.kanban : viewData?.views?.list)?.default_order
|
|
4523
|
-
)
|
|
4523
|
+
) ?? "";
|
|
4524
4524
|
return {
|
|
4525
4525
|
model: action?.res_model,
|
|
4526
4526
|
specification,
|
package/dist/widget.mjs
CHANGED
|
@@ -4590,9 +4590,9 @@ var useListData = ({
|
|
|
4590
4590
|
const offset = debouncedPage * pageLimit;
|
|
4591
4591
|
const fields = typeof groupByList === "object" ? groupByList?.fields : void 0;
|
|
4592
4592
|
const groupby = typeof groupByList === "object" ? [groupByList?.contexts?.[0]?.group_by] : [];
|
|
4593
|
-
const sort = order
|
|
4593
|
+
const sort = order ?? formatSortingString(
|
|
4594
4594
|
(mode === "kanban" ? viewData?.views?.kanban : viewData?.views?.list)?.default_order
|
|
4595
|
-
)
|
|
4595
|
+
) ?? "";
|
|
4596
4596
|
return {
|
|
4597
4597
|
model: action?.res_model,
|
|
4598
4598
|
specification,
|