Forum Discussion
VikasB
3 years agoBoss
elbranscomb
Yes, need to add this new query inside the <#list>
<div class="trending-messages-list">
<#list articles as article>
<#assign kudosCount = rest("2.0","/search?q=" + ("SELECT * FROM kudos WHERE message.id = '${article.id}'")?url).data.size />
<div class="trending-message-item">
<a href="${(article.view_href)!""}">${(article.subject)!""}</a>
</div>
<div>Likes: ${kudosCount} Last Updated: ${article.conversation.messages_count-1}<div>
</#list>
</div>
Here is the screenshot for refernece: https://prnt.sc/GBUnaQmMpuYZ
Related Content
- 11 months ago
- 4 years agoInactive User