Skip to content

Commit 837c54d

Browse files
committed
Don't show versions in queue from deleted projects
1 parent 306bedb commit 837c54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/Application.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ final class Application @Inject()(data: DataHelper,
207207
for {
208208
(v, u) <- versionTable joinLeft userTable on (_.authorId === _.id)
209209
c <- channelTable if v.channelId === c.id && v.isReviewed =!= true
210-
p <- projectTable if v.projectId === p.id
210+
p <- projectTable if v.projectId === p.id && p.visibility =!= VisibilityTypes.SoftDelete
211211
ou <- userTable if p.userId === ou.id
212212
} yield {
213213
(v, p, c, u.map(_.name), ou)

0 commit comments

Comments
 (0)