Forum Discussion
VarunGrazitti
11 years agoBoss
sunny_mody - Yes, you can sort the topics using following snippet
<#assign topics = rest("/topics/style/forum/recent?restapi.response_style=view").messages /> <#list topics.message?sort_by(["last_edit_time"])?reverse as sorted_topics> ${sorted_topics.board_id} (${sorted_topics.last_edit_time.@view_date} ${sorted_topics.last_edit_time.@view_time})<br> </#list>
The code highlighted in blue would sort it for you. Let me know if this helps.
Related Content
- 8 months ago
- 18 days ago
- 5 years ago