Skip to content
Snippets Groups Projects
Unverified Commit 92c51bc5 authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #152 from ASCWebServices/canini

asc_bootstrap - fixing people taxonomy links bug
parents c6d360ed cfb5f45c
No related branches found
No related tags found
No related merge requests found
......@@ -129,22 +129,26 @@
{% endif %}
{% if content.field_research_interests.0 != '' %}
{% set loopcount = 0 %}
{% for item in content.field_research_interests %}
{% if item['#title'] %}
<div class="research-interests-ppl">
<a href="/people?field_research_interests_target_id[{{ item['#url']|render|split('/')|last }}]={{ item['#url']|render|split('/')|last }}">
<a href="/people?field_research_interests_target_id[{{ user.field_research_interests[loopcount].target_id }}]={{ user.field_research_interests[loopcount].target_id }}">
{{ item['#title'] }}
{% set loopcount = loopcount + 1 %}
</a>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% if content.field_other.0 != '' %}
{% set loopcount = 0 %}
{% for item in content.field_other %}
{% if item['#title'] %}
<div class="research-interests-ppl">
<a href="/people?field_other_target_id[{{ item['#url']|render|split('/')|last }}]={{ item['#url']|render|split('/')|last }}">
<a href="/people?field_other_target_id[{{ user.field_other[loopcount].target_id }}]={{ user.field_other[loopcount].target_id }}">
{{ item['#title'] }}
{% set loopcount = loopcount + 1 %}
</a>
</div>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment