diff --git a/templates/sortlog.html b/templates/sortlog.html
index 184af50c9510d00fcd17941ceb9c187ddb532d66..21d05c37147e80c5176e31520c95b368506d9e53 100644
--- a/templates/sortlog.html
+++ b/templates/sortlog.html
@@ -54,7 +54,7 @@
 						<td><a href="{{ config.VIDEOPREFIX }}/{{i.path}}">{{i.path}}</a></td>
 						<td><a href="{{url_for('course', id=i.course_id)}}">{{i.course_id}}</a></td>
 						<td><a href="{{url_for('course', id=i.course_id)}}#lecture-{{i.lecture_id}}">{{i.lecture_id}}</a></td>
-						<td>{{i.id}}</td>
+						<td>{{i.video_id}}</td>
 					</tr>
 				{% endfor %}
 			</table>