-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Im pulling results from modx via the api as such
$output = $modx->runSnippet('AdvSearch',array(
'parents'=> $id,
'withTVs'=>'withthistv',
'withFields'=>'',
'containerTpl'=>'containertpl',
'tpl'=>'tpl',
'includeTVs'=>'thistv'
));
The results are coming through fine, however search results for every container in the tree structure are included. i would like to dynamically restrict the container based on the search parameters ..
i have tried hard coding a int for testing purposes ( i.e. 'parents'=> '3',) with the same results.
it appears the parent parameter is not being included.
Metadata
Metadata
Assignees
Labels
No labels