Open trentnixon opened 8 years ago
try 2.0.0-beta1
i have had a tinker around with it now, the results seem to be pulling only from the top level of that parent. is there any way to include a 'depth' parameter?
also, the new beta option only displays results when the following para are NOT included. 'containerTpl'=>'containertpl', 'tpl'=>'tpl',
results only display when using the default options.
It's now have "advsearch" placeholder's prefix
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.