From 6db8fa8ef762bafb09ce1c2419a8392e119caece Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Wed, 20 Aug 2008 06:14:44 +0000 Subject: [PATCH] Messages on a Board can now be sorted by the number of replies. #1761 git-svn-id: http://redmine.rubyforge.org/svn/trunk@1750 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/boards/show.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/boards/show.rhtml b/app/views/boards/show.rhtml index 5b0c208a3..96818df34 100644 --- a/app/views/boards/show.rhtml +++ b/app/views/boards/show.rhtml @@ -33,7 +33,7 @@ <%= l(:field_subject) %> <%= l(:field_author) %> <%= sort_header_tag("#{Message.table_name}.created_on", :caption => l(:field_created_on)) %> - <%= l(:label_reply_plural) %> + <%= sort_header_tag("#{Message.table_name}.replies_count", :caption => l(:label_reply_plural)) %> <%= sort_header_tag("#{Message.table_name}.updated_on", :caption => l(:label_message_last)) %> -- 2.39.5