Hi.
I’ve created a theme that is derived from Curatescape. I would like to be able to show search results from Exhibits and Simple Pages, but it’s now just showing search hits in Items. I’ve got every type of record configured to be searchable in the Search settings, and I’ve reindexed.
Search in the Admin view is working fine, but something within the theme is filtering them down, and I’m at a loss for where to find whether the search is being filtered on submission, in some configuration, or during display of the results.
Any help would be appreciated. Code is at GitHub - PortSideNewYork/rhws-curatescape-theme: Customized branch of curatescape for Red Hook WaterStories. I’ve mainly been looking inside items/browse.php.
Specifically, I see this line:
foreach(loop(‘Items’) as $item):
I’ve tried testing by replacing “Items” with “search_texts” which I see elsewhere, but it doesn’t seem to work.