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:
parent
f3d9e61639
commit
f87bbe6184
1 changed files with 1 additions and 5 deletions
|
@ -27,11 +27,7 @@ class Admin::Metrics::Measure::TagServersMeasure < Admin::Metrics::Measure::Base
|
||||||
.distinct
|
.distinct
|
||||||
.reorder(nil)
|
.reorder(nil)
|
||||||
.joins(:tags, :account)
|
.joins(:tags, :account)
|
||||||
.where(
|
.where(statuses_tags: { tag_id: tag.id })
|
||||||
<<~SQL.squish, tag_id: tag.id
|
|
||||||
statuses_tags.tag_id = :tag_id
|
|
||||||
SQL
|
|
||||||
)
|
|
||||||
.where(
|
.where(
|
||||||
<<~SQL.squish, earliest_status_id: earliest_status_id, latest_status_id: latest_status_id
|
<<~SQL.squish, earliest_status_id: earliest_status_id, latest_status_id: latest_status_id
|
||||||
statuses.id BETWEEN :earliest_status_id AND :latest_status_id
|
statuses.id BETWEEN :earliest_status_id AND :latest_status_id
|
||||||
|
|
Loading…
Reference in a new issue