Skip to content

Commit

Permalink
fix: filter deleted assets while adding (open-metadata#14304)
Browse files Browse the repository at this point in the history
  • Loading branch information
karanh37 authored and Shiyang Xiao committed Dec 12, 2023
1 parent 53dda93 commit 387602f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export const AssetSelectionModal = ({
searchIndex: index,
query: searchText,
queryFilter: updatedQueryFilter,
includeDeleted: false,
});
const hits = res.hits.hits as SearchedDataProps['data'];
setTotalCount(res.hits.total.value ?? 0);
Expand Down

0 comments on commit 387602f

Please sign in to comment.