1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Embroil it in controversery

This commit is contained in:
Matt Jankowski 2024-06-11 11:40:52 -04:00
parent f3d9e61639
commit f87bbe6184

View file

@ -27,11 +27,7 @@ class Admin::Metrics::Measure::TagServersMeasure < Admin::Metrics::Measure::Base
.distinct
.reorder(nil)
.joins(:tags, :account)
.where(
<<~SQL.squish, tag_id: tag.id
statuses_tags.tag_id = :tag_id
SQL
)
.where(statuses_tags: { tag_id: tag.id })
.where(
<<~SQL.squish, earliest_status_id: earliest_status_id, latest_status_id: latest_status_id
statuses.id BETWEEN :earliest_status_id AND :latest_status_id