mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Don't show edu sites in regular browse
This commit is contained in:
parent
c24d1d73bd
commit
9d33464ef0
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ end
|
||||||
|
|
||||||
def browse_sites_dataset
|
def browse_sites_dataset
|
||||||
ds = Site.browse_dataset
|
ds = Site.browse_dataset
|
||||||
|
ds = ds.where is_education: false
|
||||||
|
|
||||||
if current_site
|
if current_site
|
||||||
ds = ds.or sites__id: current_site.id
|
ds = ds.or sites__id: current_site.id
|
||||||
|
|
Loading…
Add table
Reference in a new issue