Remove false positive cop detection (#27457)

This commit is contained in:
Matt Jankowski 2023-11-07 05:44:15 -05:00 committed by GitHub
parent 49e2772064
commit bbad5b6456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 14 deletions

View file

@ -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