mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
exclude deleted sites from other_sites_dataset
This commit is contained in:
parent
93b333dbf2
commit
92abcd6a49
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ class Site < Sequel::Model
|
|||
end
|
||||
|
||||
def other_sites_dataset
|
||||
account_sites_dataset.exclude(id: self.id)
|
||||
account_sites_dataset.exclude(id: self.id).exclude(is_deleted: true)
|
||||
end
|
||||
|
||||
def other_sites
|
||||
|
|
Loading…
Add table
Reference in a new issue