mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-08 13:36:32 +00:00
fix the json rule generation for reviewer for the fullyQualifiedName (#24431)
This commit is contained in:
parent
ca724d100d
commit
4c6a358e17
@ -415,9 +415,9 @@ class JSONLogicSearchClassBase {
|
||||
label: t('label.reviewer-plural'),
|
||||
type: '!group',
|
||||
mode: 'some',
|
||||
defaultField: 'fullyQualifiedName',
|
||||
defaultField: EntityFields.FULLY_QUALIFIED_NAME,
|
||||
subfields: {
|
||||
fullyQualifiedName: {
|
||||
[EntityFields.FULLY_QUALIFIED_NAME]: {
|
||||
label: 'Reviewers New',
|
||||
type: 'select',
|
||||
mainWidgetProps: this.mainWidgetProps,
|
||||
@ -426,6 +426,11 @@ class JSONLogicSearchClassBase {
|
||||
asyncFetch: advancedSearchClassBase.autocomplete({
|
||||
searchIndex: [SearchIndex.USER, SearchIndex.TEAM],
|
||||
entityField: EntityFields.DISPLAY_NAME_KEYWORD,
|
||||
sourceFields: 'displayName,fullyQualifiedName',
|
||||
sourceFieldOptionType: {
|
||||
label: 'displayName',
|
||||
value: 'fullyQualifiedName',
|
||||
},
|
||||
}),
|
||||
useAsyncSearch: true,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user