equal
deleted
inserted
replaced
43 from cubicweb.web.views import primary, baseviews, tabs, tableview, ibreadcrumbs |
43 from cubicweb.web.views import primary, baseviews, tabs, tableview, ibreadcrumbs |
44 |
44 |
45 ALWAYS_SKIP_TYPES = BASE_TYPES | SCHEMA_TYPES |
45 ALWAYS_SKIP_TYPES = BASE_TYPES | SCHEMA_TYPES |
46 SKIP_TYPES = (ALWAYS_SKIP_TYPES | META_RTYPES | SYSTEM_RTYPES | WORKFLOW_TYPES |
46 SKIP_TYPES = (ALWAYS_SKIP_TYPES | META_RTYPES | SYSTEM_RTYPES | WORKFLOW_TYPES |
47 | INTERNAL_TYPES) |
47 | INTERNAL_TYPES) |
48 SKIP_TYPES.update(set(('CWUser', 'CWGroup'))) |
48 SKIP_TYPES.update(set(('CWUser', 'CWGroup', 'EmailAddress', 'Bookmark'))) |
49 |
49 |
50 def skip_types(req): |
50 def skip_types(req): |
51 if int(req.form.get('skipmeta', True)): |
51 if int(req.form.get('skipmeta', True)): |
52 return SKIP_TYPES |
52 return SKIP_TYPES |
53 return ALWAYS_SKIP_TYPES |
53 return ALWAYS_SKIP_TYPES |