web/views/actions.py
changeset 5877 0c7b7b76a84f
parent 5811 e77cea9721e7
child 5963 4d75f743ed49
--- a/web/views/actions.py	Fri Jul 02 19:14:48 2010 +0200
+++ b/web/views/actions.py	Mon Jul 05 12:04:32 2010 +0200
@@ -30,7 +30,7 @@
     one_line_rset, multi_lines_rset, one_etype_rset, relation_possible,
     nonempty_rset, non_final_entity,
     authenticated_user, match_user_groups, match_search_state,
-    has_permission, has_add_permission, implements, debug_mode,
+    has_permission, has_add_permission, is_instance, debug_mode,
     )
 from cubicweb.web import uicfg, controller, action
 from cubicweb.web.views import linksearch_select_url, vid_from_rset
@@ -323,7 +323,7 @@
     """when displaying the schema of a CWEType, offer to list entities of that type
     """
     __regid__ = 'entitiesoftype'
-    __select__ = one_line_rset() & implements('CWEType')
+    __select__ = one_line_rset() & is_instance('CWEType')
     category = 'mainactions'
     order = 40