mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
dont account crashing boolean for follows
This commit is contained in:
parent
b671a19326
commit
053a82d3eb
1 changed files with 2 additions and 2 deletions
|
@ -472,12 +472,12 @@ class Site < Sequel::Model
|
|||
|
||||
# Who this site follows
|
||||
def followings_dataset
|
||||
super.select_all(:follows).inner_join(:sites, :id=>:site_id).exclude(:sites__is_deleted => true).exclude(:sites__is_banned => true).exclude(:sites__is_crashing => true)
|
||||
super.select_all(:follows).inner_join(:sites, :id=>:site_id).exclude(:sites__is_deleted => true).exclude(:sites__is_banned => true)
|
||||
end
|
||||
|
||||
# Who this site is following
|
||||
def follows_dataset
|
||||
super.select_all(:follows).inner_join(:sites, :id=>:actioning_site_id).exclude(:sites__is_deleted => true).exclude(:sites__is_banned => true).exclude(:sites__is_crashing => true)
|
||||
super.select_all(:follows).inner_join(:sites, :id=>:actioning_site_id).exclude(:sites__is_deleted => true).exclude(:sites__is_banned => true)
|
||||
end
|
||||
|
||||
=begin
|
||||
|
|
Loading…
Add table
Reference in a new issue