@indigina/ui-kit 1.1.362 → 1.1.363
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.
|
@@ -7269,7 +7269,7 @@ const kitFetchGridData = ({ store, destroyRef, isLoading, fetchAction, fetchFrom
|
|
|
7269
7269
|
const action = isSearchMode && fetchFromIndexAction({ ...gridState, searchTerm }) || fetchAction(gridState);
|
|
7270
7270
|
store.dispatch(action).pipe(takeUntilDestroyed(destroyRef)).subscribe(() => isLoading.set(false));
|
|
7271
7271
|
};
|
|
7272
|
-
const kitFetchExportGridData = ({ fetchAction, fetchIndexAction,
|
|
7272
|
+
const kitFetchExportGridData = ({ fetchAction, fetchIndexAction, sort, filter, search, columns, total = 500, }) => {
|
|
7273
7273
|
if (search) {
|
|
7274
7274
|
const searchTerm = kitFormatStringForSearch(search);
|
|
7275
7275
|
return fetchIndexAction(0, total, kitBuildSortString(sort, columns), kitBuildOdataFilter(kitBuildFilters(filter)), searchTerm);
|