]> source.dussan.org Git - redmine.git/commitdiff
Messages on a Board can now be sorted by the number of replies.
authorEric Davis <edavis@littlestreamsoftware.com>
Wed, 20 Aug 2008 06:14:44 +0000 (06:14 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Wed, 20 Aug 2008 06:14:44 +0000 (06:14 +0000)
  #1761

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1750 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/boards/show.rhtml

index 5b0c208a31c3726ec32a045bdc54d83db38f5c5b..96818df341be88671de089d61c40c1600a698726 100644 (file)
@@ -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>