user4752928
user4752928

Reputation:

Ditto - exclude a child from a parent

How to exclude a specific child resource from Ditto call. From parent 55, I want to exclude child resource 28.

 [!Ditto? 
      &parents=`2,55` 
      &depth=`1` 
      &tpl=`base` 
      &paginate=`1` 
      &display=`5` 
      &orderBy=`date`
 !]

Upvotes: 0

Views: 223

Answers (1)

Sean Kimball
Sean Kimball

Reputation: 4494

It looks like you can use a filter to removed unwanted IDs check the docs

the docs outline the format, it should be:

&filter=`id,28,2`

Upvotes: 1

Related Questions