From 783c0d8a618624cbb87a4701f2cfee8d71ea8c4b Mon Sep 17 00:00:00 2001 From: Matyas Selmeci Date: Wed, 5 Jan 2022 15:37:21 -0600 Subject: [PATCH] Fix "tag" not getting in the map due to a previous data structure change (SOFTWARE-4957) --- src/templates/iframe.html.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templates/iframe.html.j2 b/src/templates/iframe.html.j2 index ddd694a9e..15aad3075 100644 --- a/src/templates/iframe.html.j2 +++ b/src/templates/iframe.html.j2 @@ -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; }