Order headings by id on budget stats view

This commit is contained in:
Bertocq
2017-07-01 11:25:22 +02:00
committed by Javi Martín
parent 4b2a2dd995
commit 07cef9cd78

View File

@@ -190,7 +190,7 @@
</thead>
</thead>
<tbody>
<% @budget.headings.each do |heading| %>
<% @budget.headings.order("id ASC").each do |heading| %>
<tr id="<%= heading.name.parameterize %>">
<td class="border-left">
<strong><%= heading.name %></strong>