From 4d32520f67b31a7e30c94aae0433792ac77149c3 Mon Sep 17 00:00:00 2001
From: Jean-Sebastien Caux <jscaux@ABACUS.local>
Date: Sun, 17 Apr 2016 12:18:35 +0200
Subject: [PATCH] Fix bug in graph template

---
 scipost/templates/scipost/graph.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scipost/templates/scipost/graph.html b/scipost/templates/scipost/graph.html
index 511b067d7..6d221aedb 100644
--- a/scipost/templates/scipost/graph.html
+++ b/scipost/templates/scipost/graph.html
@@ -165,7 +165,7 @@ function transform(d) {
   {% if graph.private }}
   <h3>Teams with access:</h3>
   <ul>
-    {% for team in graph.teams_with_access %}
+    {% for team in graph.teams_with_access.all %}
     {{ team.header_as_li }}
     {% endfor %}
   </ul>
-- 
GitLab