Forum Discussion
AdamN
13 years agoKhoros Oracle
Hi Claudius,
I'd suggest just tweaking the search query to return only root messages. You can do this by adding "is_root:true" to the q parameter for the search.
For example:
<#assign rest_query = "/boards/id/" + pid + "/search/messages?q=is_root:true&openresponse=true&sort_by=-topicPostDate&page_size=" + results_list_size /> <@component id="forums.widget.message-list-panel" messages="rest_v1:"+rest_query style="wide" numMessages="conv:"+results_list_size />
Hopefully this helps. Let me know if I misunderstood what you're trying to do.
Regards,
Adam