fix(projects): don't return child projects multiple times
This commit is contained in:
parent
ab2eda4bd5
commit
61bce2b349
@ -416,6 +416,7 @@ func getUserProjectsStatement(parentProjectIDs []int64, userID int64, search str
|
||||
filterCond,
|
||||
getArchivedCond,
|
||||
parentCondition,
|
||||
builder.NotIn("l.id", parentProjectIDs),
|
||||
)).
|
||||
OrderBy("position").
|
||||
GroupBy("l.id")
|
||||
|
Loading…
x
Reference in New Issue
Block a user