diff --git a/productMods/config/listViewConfig-educationalTraining.xml b/productMods/config/listViewConfig-educationalTraining.xml index be1615e6..335577ee 100644 --- a/productMods/config/listViewConfig-educationalTraining.xml +++ b/productMods/config/listViewConfig-educationalTraining.xml @@ -21,5 +21,7 @@ } ORDER BY DESC(?dateTime) + edTraining + \ No newline at end of file diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl index abed7254..98f4fd40 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl @@ -3,6 +3,7 @@ <#-- Custom object property statement view for http://vivoweb.org/ontology/core#educationalTraining --> <#import "lib-sequence.ftl" as s> +<#import "lib-datetime.ftl" as dt> <#assign degree> <#if statement.degreeName??> @@ -12,10 +13,8 @@ <#assign org>${statement.orgName} -<#-- <#if statement.dateTime??> - <#assign dateTime = statement.dateTime?string("yyyy")> + <#assign dateTime = dt.xsdDateTimeToYear(statement.dateTime)> ---> <@s.join [ degree, org, statement.deptOrSchool!, statement.info!, dateTime! ] />