Skip to content

Commit d84765d

Browse files
authored
fix: LEAP-1856: Fix filters not being sent to Bulk API (#7125)
Co-authored-by: hlomzik <hlomzik@users.noreply.github.com>
1 parent 7d086c2 commit d84765d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

web/libs/datamanager/src/stores/AppStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export const AppStore = types
126126
},
127127

128128
get currentFilter() {
129-
return self.currentView.filterSnposhot;
129+
return self.currentView.filterSnapshot;
130130
},
131131
}))
132132
.volatile(() => ({

web/libs/datamanager/src/stores/Tabs/tab.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const Tab = types
158158
return self.selectedCount === self.dataStore.total;
159159
},
160160

161-
get filterSnposhot() {
161+
get filterSnapshot() {
162162
return {
163163
conjunction: self.conjunction,
164164
items: self.serializedFilters,
@@ -176,7 +176,7 @@ export const Tab = types
176176

177177
get query() {
178178
return JSON.stringify({
179-
filters: self.filterSnposhot,
179+
filters: self.filterSnapshot,
180180
ordering: self.ordering.toJSON(),
181181
hiddenColumns: self.hiddenColumnsSnapshot,
182182
});
@@ -186,7 +186,7 @@ export const Tab = types
186186
if (self.virtual) {
187187
return {
188188
title: self.title,
189-
filters: self.filterSnposhot,
189+
filters: self.filterSnapshot,
190190
ordering: self.ordering.toJSON(),
191191
};
192192
}
@@ -199,7 +199,7 @@ export const Tab = types
199199
ordering: self.ordering.toJSON(),
200200
type: self.type,
201201
target: self.target,
202-
filters: self.filterSnposhot,
202+
filters: self.filterSnapshot,
203203
hiddenColumns: getSnapshot(self.hiddenColumns),
204204
columnsWidth: self.columnsWidth.toPOJO(),
205205
columnsDisplayType: self.columnsDisplayType.toPOJO(),

0 commit comments

Comments
 (0)