No Jira issue. Links to departments on the home page were not working if the uri was not the default namespace.
This commit is contained in:
parent
4966d98539
commit
1770c41a35
2 changed files with 3 additions and 4 deletions
|
@ -165,8 +165,7 @@ var academicDepartments = [
|
|||
<#list academicDeptDG as resultRow>
|
||||
<#assign uri = resultRow["theURI"] />
|
||||
<#assign label = resultRow["name"] />
|
||||
<#assign localName = uri?substring(uri?last_index_of("/")) />
|
||||
{"uri": "${localName}", "name": "${label}"}<#if (resultRow_has_next)>,</#if>
|
||||
{"uri": "${uri?url}", "name": "${label}"}<#if (resultRow_has_next)>,</#if>
|
||||
</#list>
|
||||
</#if>
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue