mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-29 01:32:01 +00:00
Fixes Glossary Term and Tag Redirection
This commit is contained in:
parent
39b645a0ea
commit
e52156aa94
@ -83,6 +83,18 @@ public interface MessageDecorator<T> {
|
||||
link.getEntityType(), link.getEntityFQN(), "profiler?activeTab=Data%20Quality");
|
||||
}
|
||||
|
||||
// Glossary Term
|
||||
if (entityType.equals(Entity.GLOSSARY_TERM)) {
|
||||
// Glossary Term is a special case where the URL is different
|
||||
return getEntityUrl(Entity.GLOSSARY, fqn, "");
|
||||
}
|
||||
|
||||
// Tag
|
||||
if (entityType.equals(Entity.TAG)) {
|
||||
// Tags need to be redirected to Classification Page
|
||||
return getEntityUrl("tags", fqn.split("\\.")[0], "");
|
||||
}
|
||||
|
||||
return getEntityUrl(entityType, fqn, "");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user