Solved
Forum Discussion
irach15
9 years agoMaven
Hi sam2,
this is how I search only 'tkb' articles for specific boards in a custom component
<#assign apiVersion = "2.0"/> <#assign x= rest(apiVersion,"/search?q=" + "SELECT id, subject, post_time, conversation.last_post_time, board, board.id, board.view_href, board.title, view_href, body FROM messages WHERE category.id IN('someBoard1','someBoard2', 'someBoard3') AND conversation.style = 'tkb' AND depth=0 ORDER BY post_time DESC LIMIT 5"?url) />