Skip to content

Commit

Permalink
ui: fixed advance search suggestion issue for user field (#14005)
Browse files Browse the repository at this point in the history
* ui: fixed advance search suggestion issue for user field

* fixed issue related to owner suggestion
  • Loading branch information
ShaileshParmar11 authored Nov 17, 2023
1 parent fc23000 commit 3cf2860
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,7 @@ const getCommonQueryBuilderFields = (

fieldSettings: {
asyncFetch: autocomplete({
searchIndex: entitySearchIndex ?? [
SearchIndex.USER,
SearchIndex.TEAM,
],
searchIndex: [SearchIndex.USER, SearchIndex.TEAM],
entityField: EntityFields.OWNER,
}),
useAsyncSearch: true,
Expand All @@ -284,8 +281,7 @@ const getCommonQueryBuilderFields = (
fieldSettings: {
asyncFetch: autocomplete({
searchIndex: entitySearchIndex ?? [
SearchIndex.TAG,
SearchIndex.GLOSSARY,
(SearchIndex.TAG, SearchIndex.GLOSSARY),
],
entityField: EntityFields.TAG,
}),
Expand Down

0 comments on commit 3cf2860

Please sign in to comment.