From cfb2c5ef6582e51ae9cfdfff35e12b5b7fdc24fb Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Mon, 24 Mar 2014 21:38:02 -0700 Subject: Enabling the Feed and various bug fixes. * Fixing thread ordering. * Adding a limit of 5 threads per topic. * Changing frontend /account references to UserRecord. --- src/templates/templates/communityfeed.ftl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/templates') diff --git a/src/templates/templates/communityfeed.ftl b/src/templates/templates/communityfeed.ftl index 7c68771..71b33bc 100644 --- a/src/templates/templates/communityfeed.ftl +++ b/src/templates/templates/communityfeed.ftl @@ -2,7 +2,8 @@

Discussion Forum

- <#assign threads = feeddata.getThreads(chapter)> + <#assign max_threads = 5> + <#assign threads = feeddata.getThreads(chapter, max_threads)> <#list threads as thread> <#assign messages = feeddata.getMessages(chapter, thread.id)>
-- cgit v1.2.3