use 'hide_children' option for hiding children in listings
This commit is contained in:
		
							parent
							
								
									5e98c1cb6a
								
							
						
					
					
						commit
						26ef8449b5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue