use 'hide_children' option for hiding children in listings

This commit is contained in:
Helmut Merz 2011-10-24 09:23:38 +02:00
parent 5e98c1cb6a
commit 26ef8449b5

View file

@ -18,8 +18,6 @@
""" """
Definition of the concept view classes. Definition of the concept view classes.
$Id$
""" """
from itertools import groupby from itertools import groupby
@ -313,6 +311,8 @@ class ConceptView(BaseView):
break break
if skip: if skip:
continue continue
if IOptions(adapted(r.predicate))('hide_children'):
continue
if fv.check(r.context): if fv.check(r.context):
yield r yield r