mirror of
https://github.com/neocities/neocities.git
synced 2025-07-25 03:48:22 +02:00
fix for missing comments on profile
This commit is contained in:
parent
724ee54658
commit
8a96e65f9f
2 changed files with 5 additions and 8 deletions
|
@ -1390,8 +1390,7 @@ class Site < Sequel::Model
|
|||
|
||||
def latest_events(current_page=1, current_site=nil, limit=Event::PAGINATION_LENGTH)
|
||||
site_id = self.id
|
||||
ds = Event.news_feed_default_dataset.where{Sequel.|({site_id: site_id}, {actioning_site_id: site_id})}.
|
||||
order(:created_at.desc)
|
||||
ds = Event.news_feed_default_dataset.where{Sequel.|({site_id: site_id}, {actioning_site_id: site_id})}
|
||||
|
||||
if current_site
|
||||
ds = ds.where(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue