1
0
Fork 0
forked from gitea/nas

Use public_visibility (#29847)

This commit is contained in:
Jeong Arm 2024-04-04 16:31:30 +09:00 committed by GitHub
parent 91d3b3fb25
commit 4045c069f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -16,6 +16,6 @@ class AnnualReport::TopStatuses < AnnualReport::Source
end
def base_scope
@account.statuses.with_public_visibility.joins(:status_stat).where(id: year_as_snowflake_range).reorder(nil)
@account.statuses.public_visibility.joins(:status_stat).where(id: year_as_snowflake_range).reorder(nil)
end
end