Issue #3071 has been updated by Scott Smith.
Why not just change the order by in the model? It's set to ascending on timestamp. ---------------------------------------- Refactor #3071: Node report list should show most recent first http://projects.reductivelabs.com/issues/3071 Author: Martin Englund Status: Unreviewed Priority: Normal Assigned to: Category: Target version: Branch: The node report list should be reversed as you want to see the most recent at the top <pre>diff --git a/app/views/nodes/show.html.haml b/app/views/nodes/show.html.haml index 40eeee4..2f90abe 100644 --- a/app/views/nodes/show.html.haml +++ b/app/views/nodes/show.html.haml @@ -50,7 +50,7 @@ %th Skipped %th Runtime %tbody - - reports[0,10].each do |report| + - reports[0,10].reverse.each do |report| %tr %td %span.status{:class => report.status}= link_to report.created_at.ut</pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
