aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/admin_public_body/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_public_body/show.rhtml b/app/views/admin_public_body/show.rhtml
index 363586fb3..b33278dda 100644
--- a/app/views/admin_public_body/show.rhtml
+++ b/app/views/admin_public_body/show.rhtml
@@ -47,7 +47,7 @@
<% end %>
<th>Updated at</th>
</tr>
-<% for historic_public_body in @public_body.versions.reverse %>
+<% for historic_public_body in @public_body.versions.sort { |a,b| b.id <=> a.id } %>
<tr class="<%= cycle('odd', 'even') %>">
<% for column in history_columns %>
<%