Coroico / AdvSearch

Dynamic content search add-on for MODx Revolution that supports results highlighting, faceted search and search in custom packages
21 stars 14 forks source link

Allow [[+parent]] to show in result item #36

Closed shaunmorrison closed 11 years ago

shaunmorrison commented 11 years ago

Hi, I was trying to get the parents pagetitle to appear in search result items, by using [[!getResourceField? &id=[[+parent]]]], but nothing appears. At first I thought it was getResourceField, but this appears to work fine; however, [[+parent]] does not output anything.

Thanks again, Shaun

shaunmorrison commented 11 years ago

Same fix as #34.

Fixed: included parent in &fields param e.g. &fields=pagetitle,introtext,publishedon,longtitle,content,parent