Skip to content

Commit

Permalink
Merge pull request #2211 from matyasselmeci/pr/SOFTWARE-4957.mapfix
Browse files Browse the repository at this point in the history
Fix "tag" not getting in the map due to a previous data structure change (SOFTWARE-4957)
  • Loading branch information
matyasselmeci authored Jan 5, 2022
2 parents c2e93dd + 783c0d8 commit 3f55432
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/templates/iframe.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ function init(scrollwheel) {
sites[curSite][4].isEdu = true;
}
{% if 'Tags' in resource and resource['Tags'] != None %}
{% for tag in resource['Tags'] %}
tag = "{{ tag['Tag'] }}"
{% if 'Tags' in resource and resource['Tags'] %}
{% for tag in resource['Tags']['Tag'] %}
tag = "{{ tag }}"
if (tag == "CC*") {
sites[curSite][4].isCCStar = true;
}
Expand Down

0 comments on commit 3f55432

Please sign in to comment.