mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
account events was not pulling in proper data, causing commenting issues
This commit is contained in:
parent
2c3441d791
commit
0efa3cada0
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Site < Sequel::Model
|
||||||
|
|
||||||
def account_sites_events_dataset
|
def account_sites_events_dataset
|
||||||
ids = account_sites_dataset.select(:id).all.collect {|s| s.id}
|
ids = account_sites_dataset.select(:id).all.collect {|s| s.id}
|
||||||
Event.where(id: ids)
|
Event.where(site_id: ids)
|
||||||
end
|
end
|
||||||
|
|
||||||
def owner
|
def owner
|
||||||
|
|
Loading…
Add table
Reference in a new issue