summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-14 09:02:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-14 09:02:40 +0000
commitecf208f6604a8374018562e33fcd3addee540e71 (patch)
tree2bbcfe86fa52b2d44c3d867dbef4eb0be5db3b53 /app/views/issues
parentb3f3634df3de06aedca35f57a9565a7d791c4d48 (diff)
downloadredmine-ecf208f6604a8374018562e33fcd3addee540e71.tar.gz
redmine-ecf208f6604a8374018562e33fcd3addee540e71.zip
Issue history is now 'oldest first' sorted.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@630 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/_history.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/_history.rhtml b/app/views/issues/_history.rhtml
index 1ad0c235d..bab37b4fd 100644
--- a/app/views/issues/_history.rhtml
+++ b/app/views/issues/_history.rhtml
@@ -1,4 +1,4 @@
-<% note_id = journals.length %>
+<% note_id = 1 %>
<% for journal in journals %>
<h4><div style="float:right;"><%= link_to "##{note_id}", :anchor => "note-#{note_id}" %></div>
<%= content_tag('a', '', :name => "note-#{note_id}")%>
@@ -9,5 +9,5 @@
<% end %>
</ul>
<%= textilizable(journal.notes) unless journal.notes.blank? %>
- <% note_id -= 1 %>
+ <% note_id += 1 %>
<% end %>