diff --git a/browser/concept.py b/browser/concept.py
index fca92f9..4d2aac5 100644
--- a/browser/concept.py
+++ b/browser/concept.py
@@ -86,7 +86,18 @@ class ConceptView(BaseView):
yield dict(title=f.title, value=value, id=n, widget=widget)
def children(self):
+ cm = self.loopsRoot.getConceptManager()
+ hasType = cm.getTypePredicate()
+ standard = cm.getDefaultPredicate()
for r in self.context.getChildRelations():
+ if r.predicate == hasType:
+ # only show top-level entries for type instances:
+ skip = False
+ for parent in r.second.getParents((standard,)):
+ if parent.conceptType == self.context:
+ skip = True
+ break
+ if skip: continue
yield ConceptRelationView(r, self.request, contextIsSecond=True)
def parents(self):
diff --git a/browser/configure.zcml b/browser/configure.zcml
index 1686ec7..3066541 100644
--- a/browser/configure.zcml
+++ b/browser/configure.zcml
@@ -138,7 +138,6 @@
@@ -232,7 +231,6 @@
diff --git a/configure.zcml b/configure.zcml
index 65fbd42..b02986c 100644
--- a/configure.zcml
+++ b/configure.zcml
@@ -65,9 +65,6 @@
-
-
@@ -115,9 +112,6 @@
-
-
@@ -194,9 +188,6 @@
-
-