web/ldt/ldt_utils/views.py
changeset 98 c9460033138f
parent 97 66f6aff5c382
child 99 0fb4b009c6eb
--- a/web/ldt/ldt_utils/views.py	Mon Oct 18 01:44:12 2010 +0200
+++ b/web/ldt/ldt_utils/views.py	Tue Oct 19 15:14:42 2010 +0200
@@ -293,7 +293,7 @@
     resp['Pragma']='no-cache'
 
     ps = ProjectSerializer(project, from_contents=False, from_display=True) 
-    annotations = project.getAnnotations(first_cutting=True)
+    annotations = ps.getAnnotations(first_cutting=True)
     
     rdf_ns = u"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     dc_ns = u"http://purl.org/dc/elements/1.1/"