Skip to content

Commit 34193ae

Browse files
authored
(fix: asset downloads) Asset download queries do not apply filters and download all assets (#16075)
1 parent 3e9e890 commit 34193ae

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

datahub-web-react/src/app/entity/shared/components/styled/search/EmbeddedListSearch.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ export const EmbeddedListSearch = ({
168168
variables: {
169169
input: {
170170
types: entityTypes || [],
171-
query,
171+
query: finalQuery,
172172
count: SearchCfg.RESULTS_PER_PAGE,
173-
orFilters: generateOrFilters(unionType, filters),
173+
orFilters: finalFilters,
174174
scrollId: null,
175175
},
176176
},

datahub-web-react/src/app/entityV2/shared/components/styled/search/EmbeddedListSearch.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ export const EmbeddedListSearch = ({
206206
variables: {
207207
input: {
208208
types: entityTypes || [],
209-
query,
209+
query: finalQuery,
210210
count: SearchCfg.RESULTS_PER_PAGE,
211-
orFilters: generateOrFilters(unionType, filters),
211+
orFilters: finalFilters,
212212
scrollId: null,
213213
searchFlags,
214214
},

0 commit comments

Comments
 (0)