mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +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
|
end
|
||||||
|
|
||||||
def other_sites_dataset
|
def other_sites_dataset
|
||||||
account_sites_dataset.exclude(id: self.id)
|
account_sites_dataset.exclude(id: self.id).exclude(is_deleted: true)
|
||||||
end
|
end
|
||||||
|
|
||||||
def other_sites
|
def other_sites
|
||||||
|
|
Loading…
Add table
Reference in a new issue