summaryrefslogtreecommitdiffstats
path: root/app/views/boards
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2008-08-20 06:14:44 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2008-08-20 06:14:44 +0000
commit6db8fa8ef762bafb09ce1c2419a8392e119caece (patch)
tree23af626188c76edf7687c92826947c568a7d7d82 /app/views/boards
parentaf6b01f55d96ccf9560251707a2136050b0a6648 (diff)
downloadredmine-6db8fa8ef762bafb09ce1c2419a8392e119caece.tar.gz
redmine-6db8fa8ef762bafb09ce1c2419a8392e119caece.zip
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
Diffstat (limited to 'app/views/boards')
-rw-r--r--app/views/boards/show.rhtml2
1 files changed, 1 insertions, 1 deletions
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 @@
<th><%= l(:field_subject) %></th>
<th><%= l(:field_author) %></th>
<%= sort_header_tag("#{Message.table_name}.created_on", :caption => l(:field_created_on)) %>
- <th><%= l(:label_reply_plural) %></th>
+ <%= 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)) %>
</tr></thead>
<tbody>