mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-28 02:17:53 +00:00
feat(ui): make container description searchable and have description show up in results (#5586)
This commit is contained in:
parent
d62441b937
commit
e4a587ac24
@ -134,7 +134,7 @@ export class ContainerEntity implements Entity<Container> {
|
||||
platformName={data.platform.properties?.displayName || data.platform.name}
|
||||
platformLogo={data.platform.properties?.logoUrl}
|
||||
platformInstanceId={data.dataPlatformInstance?.instanceId}
|
||||
description={data.properties?.description}
|
||||
description={data.editableProperties?.description || data.properties?.description}
|
||||
owners={data.ownership?.owners}
|
||||
subTypes={data.subTypes}
|
||||
container={data.container}
|
||||
|
||||
@ -33,5 +33,9 @@ record ContainerProperties includes CustomProperties, ExternalReference {
|
||||
/**
|
||||
* Description of the Asset Container as it exists inside a source system
|
||||
*/
|
||||
@Searchable = {
|
||||
"fieldType": "TEXT",
|
||||
"hasValuesFieldName": "hasDescription"
|
||||
}
|
||||
description: optional string
|
||||
}
|
||||
@ -10,5 +10,9 @@ record EditableContainerProperties {
|
||||
/**
|
||||
* Description of the Asset Container as its received on the DataHub Platform
|
||||
*/
|
||||
@Searchable = {
|
||||
"fieldType": "TEXT",
|
||||
"fieldName": "editedDescription",
|
||||
}
|
||||
description: optional string
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user