Printing search results on front-end / homeapge


(Innes Zenati) #1

Matrix Version:6.34.0

Hey everyone, little help if possible. How do I print search results from a REST resource without the search field and every results showing? I tried this via a keyword modifier - %globals_asset_contents_raw: but adding the REST resource asset printed everything. I would like to only print the top 3 results from our main publications page - https://www.ros.gov.uk/about/publications

Also tried via an asset listing but by looking down the tree it picks up the pages in order of assets instead of printing the latest.

Thanks


(Innes Zenati) #2

Been able to solve this via the asset listing sorting.