1
0

Add loaders + game versions param to mods (#528)

This commit is contained in:
Geometrically
2023-01-27 19:24:40 -07:00
committed by GitHub
parent df3aeed291
commit 26533c47e7
14 changed files with 1114 additions and 880 deletions

View File

@@ -107,7 +107,7 @@ pub async fn projects_list(
crate::database::Project::get_many_full(&project_data, &**pool)
.await?
.into_iter()
.filter(|x| can_view_private || x.inner.status.is_approved())
.filter(|x| can_view_private || x.inner.status.is_searchable())
.map(Project::from)
.collect();