diff --git a/src/breeding-insight/model/Sort.ts b/src/breeding-insight/model/Sort.ts index 771116f7c..08e81aa2d 100644 --- a/src/breeding-insight/model/Sort.ts +++ b/src/breeding-insight/model/Sort.ts @@ -48,7 +48,8 @@ export enum TraitSortField { Name = 'name', MethodDescription = 'methodDescription', ScaleClass = 'scaleClass', - ScaleName = 'scaleName' + ScaleName = 'scaleName', + FullName = 'fullName' } // ontology @@ -58,7 +59,8 @@ export enum OntologySortField { ScaleClass = 'scaleClass', ScaleName = 'scaleName', entityAttributeSortLabel = 'entityAttribute', - TermType = 'termType' + TermType = 'termType', + FullName = 'fullName' } export class OntologySort { diff --git a/src/breeding-insight/model/TraitSelector.ts b/src/breeding-insight/model/TraitSelector.ts index 9f4ce8569..5a01633a1 100644 --- a/src/breeding-insight/model/TraitSelector.ts +++ b/src/breeding-insight/model/TraitSelector.ts @@ -23,7 +23,8 @@ export enum TraitField { UPDATED_BY_USER_ID = 'updatedByUserId', UPDATED_BY_USER_NAME = 'updatedByUserName', TERM_TYPE = 'termType', - ENTITY_ATTRIBUTE = 'entityAttribute' + ENTITY_ATTRIBUTE = 'entityAttribute', + FULL_NAME = 'fullName' } export enum TermType { diff --git a/src/components/ontology/OntologyTable.vue b/src/components/ontology/OntologyTable.vue index 65af15899..1d34d29d0 100644 --- a/src/components/ontology/OntologyTable.vue +++ b/src/components/ontology/OntologyTable.vue @@ -109,6 +109,9 @@ {{ props.row.data.observationVariableName }} + + {{ props.row.data.fullName }} + {{ TraitStringFormatters.getTermTypeString(props.row.data.termType) }} diff --git a/src/components/trait/TraitDetailPanel.vue b/src/components/trait/TraitDetailPanel.vue index 5c5e81a7a..ee11a0cb5 100644 --- a/src/components/trait/TraitDetailPanel.vue +++ b/src/components/trait/TraitDetailPanel.vue @@ -23,6 +23,15 @@ Archived


+
+
+ Full Name +
+
+ {{data.fullName}} +
+
+
Description diff --git a/src/components/trait/TraitsImportTable.vue b/src/components/trait/TraitsImportTable.vue index 3b01d8dbe..201009026 100644 --- a/src/components/trait/TraitsImportTable.vue +++ b/src/components/trait/TraitsImportTable.vue @@ -54,6 +54,19 @@ {{ data.observationVariableName }} + + {{ data.fullName }} +