Permalink
Browse files

Main Node Only

  • Loading branch information...
blankse committed Oct 25, 2018
1 parent 00f75ea commit 5ab2c46ac82f08443f4de0c1d39fb8a08609ae40
Showing with 10 additions and 11 deletions.
  1. +10 −11 design/admin/templates/contentclassmanager/view.tpl
@@ -18,16 +18,15 @@ Expected Variables:
{set $ascending='true'}
{/if}
{def $nodes = fetch( 'content','tree',
hash('parent_node_id',1,
'sort_by',array( $sort_by, $sort_asc ),
'offset',$offset,
'limit',$items_per_page,
'class_filter_type', 'include',
'class_filter_array', array( $class_object.identifier ))
)}
{def $nodes = fetch( 'content', 'tree', hash(
'parent_node_id', 1,
'sort_by', array( $sort_by, $sort_asc ),
'offset', $offset,
'limit', $items_per_page,
'class_filter_type', 'include',
'class_filter_array', array( $class_object.identifier ),
'main_node_only', true()
) )}
<div class="box-header">
<div class="box-ml">
{if $class_object | is_null()}
@@ -170,4 +169,4 @@ Expected Variables:
item_limit=$items_per_page}
{else}
There are no content objects of this content class
{/if}
{/if}

0 comments on commit 5ab2c46

Please sign in to comment.