diff options
author | Matt Jankowski <matt@jankowski.online> | 2023-11-07 05:44:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 10:44:15 +0000 |
commit | bbad5b64567713879ac3ced867980d90008af774 (patch) | |
tree | ea59c9b98d8520c02ed22cada7bea1d8cfd96384 /app/views/admin | |
parent | 49e2772064ce6e3df52a6c0ef498e6b10f6cd819 (diff) |
Remove false positive cop detection (#27457)
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/statuses/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/statuses/show.html.haml b/app/views/admin/statuses/show.html.haml index 5fda50a94ee..7067c45dc70 100644 --- a/app/views/admin/statuses/show.html.haml +++ b/app/views/admin/statuses/show.html.haml @@ -47,7 +47,7 @@ %h3= t('admin.statuses.history') %ol.history - - @status.edits.includes(:account, status: [:account]).each.with_index do |status_edit, i| + - @status.edits.reorder(nil).includes(:account, status: [:account]).find_each(order: :asc).with_index do |status_edit, i| %li .history__entry %h5 |