Skip to content

Commit

Permalink
Explicit order
Browse files Browse the repository at this point in the history
Unknown why we need this in this context, but it works
  • Loading branch information
garethrees committed Jul 11, 2024
1 parent 10ec5d2 commit 947625a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/admin_comment/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@

<hr>
<h2>Events</h2>

<div class="accordion" id="events">
<% @comment.info_request_events.each do |info_request_event| %>
<% @comment.info_request_events.order(created_at: :asc).each do |info_request_event| %>
<div class="accordion-group">
<div class="accordion-heading">
<span class="item-title">
Expand Down

0 comments on commit 947625a

Please sign in to comment.