mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
browse: csv list of sites
This commit is contained in:
parent
1cf9dfd33e
commit
b886f6021c
1 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,11 @@ def browse_sites_dataset
|
|||
end
|
||||
end
|
||||
|
||||
if current_site.is_admin && params[:sites]
|
||||
ds = ds.where sites__username: params[:sites].split(',')
|
||||
return ds
|
||||
end
|
||||
|
||||
case params[:sort_by]
|
||||
when 'special_sauce'
|
||||
ds = ds.exclude score: nil
|
||||
|
|
Loading…
Add table
Reference in a new issue