web/views/tabs.py
changeset 5877 0c7b7b76a84f
parent 5424 8ecbcbff9777
child 6083 8d69ef5f086a
--- a/web/views/tabs.py	Fri Jul 02 19:14:48 2010 +0200
+++ b/web/views/tabs.py	Mon Jul 05 12:04:32 2010 +0200
@@ -175,7 +175,7 @@
     class ProjectScreenshotsView(EntityRelationView):
         '''display project's screenshots'''
         __regid__ = title = _('projectscreenshots')
-        __select__ = EntityRelationView.__select__ & implements('Project')
+        __select__ = EntityRelationView.__select__ & is_instance('Project')
         rtype = 'screenshot'
         role = 'subject'
         vid = 'gallery'