Skip to content
Snippets Groups Projects
Commit 2d002d7e authored by L. Ellenbeck's avatar L. Ellenbeck
Browse files

fix for function

parent ffc7a481
No related branches found
No related tags found
2 merge requests!71Sprint/2020-02,!70New: Soft delete to search, test, controller and subprojects
...@@ -33,7 +33,7 @@ namespace Coscine.Api.Project.Controllers ...@@ -33,7 +33,7 @@ namespace Coscine.Api.Project.Controllers
var subProjects = _subProjectModel.GetAllWhere((subProjectM) => (subProjectM.ProjectId == parentGuid var subProjects = _subProjectModel.GetAllWhere((subProjectM) => (subProjectM.ProjectId == parentGuid
// Corrosponing subproject must exist // Corrosponing subproject must exist
&& !projectModel.IsDeleted(subProjectM.SubProjectId) && subProjectM.Project.Deleted == false
// select only subprojects to which the user has access // select only subprojects to which the user has access
&& (from projectRole in subProjectM.SubProject_FK.ProjectRolesProjectIdIds && (from projectRole in subProjectM.SubProject_FK.ProjectRolesProjectIdIds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment