Skip to content

Commit

Permalink
Sort by the lower-cased name for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
awwaiid committed Nov 3, 2024
1 parent 52f3665 commit 582c7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/requests/_calculate_product_totals.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</tr>
</thead>
<tbody>
<% @calculate_product_totals.sort_by { |name, quantity| name }.each do |name, quantity| %>
<% @calculate_product_totals.sort_by { |name, quantity| name.downcase }.each do |name, quantity| %>
<tr>
<td><%= name %></td>
<td><%= quantity %></td>
Expand Down

0 comments on commit 582c7d4

Please sign in to comment.