From c3acad781a6c181cf59578448e82184e2e2340ab Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Mon, 20 Mar 2017 17:15:05 +0100
Subject: [PATCH] subject list contain information about default location

---
 smash/web/templates/subjects/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smash/web/templates/subjects/index.html b/smash/web/templates/subjects/index.html
index 889fb48d..252bef06 100644
--- a/smash/web/templates/subjects/index.html
+++ b/smash/web/templates/subjects/index.html
@@ -51,7 +51,7 @@
 			<td>{{ subject.screening_number }}</td>
 			<td>{{ subject.first_name }}</td>
       <td>{{ subject.last_name }}</td>
-			<td>{{ subject.get_default_appointment_location_display }}</td>
+			<td>{{ subject.default_location }}</td>
 			<td>{% if subject.dead %} YES {% else %} NO {% endif %}	</td>
 			<td>{% if subject.resigned %} YES {% else %} NO {% endif %}	</td>
 			<td>{% if subject.postponed %} YES {% else %} NO {% endif %}	</td>
-- 
GitLab