From 26ef8449b570e0397e8a5bf30081342660b07edf Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Mon, 24 Oct 2011 09:23:38 +0200 Subject: [PATCH] use 'hide_children' option for hiding children in listings --- browser/concept.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/concept.py b/browser/concept.py index 8d33228..b0e62ec 100644 --- a/browser/concept.py +++ b/browser/concept.py @@ -18,8 +18,6 @@ """ Definition of the concept view classes. - -$Id$ """ from itertools import groupby @@ -313,6 +311,8 @@ class ConceptView(BaseView): break if skip: continue + if IOptions(adapted(r.predicate))('hide_children'): + continue if fv.check(r.context): yield r