Skip to content

Commit

Permalink
Merge pull request #569 from SpongePowered/feature/dont-queue-deleted
Browse files Browse the repository at this point in the history
Don't show versions in queue from deleted projects
  • Loading branch information
progwml6 authored Jul 15, 2018
2 parents 0f2b17c + 837c54d commit 390927d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/Application.scala
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ final class Application @Inject()(data: DataHelper,
for {
(v, u) <- versionTable joinLeft userTable on (_.authorId === _.id)
c <- channelTable if v.channelId === c.id && v.isReviewed =!= true
p <- projectTable if v.projectId === p.id
p <- projectTable if v.projectId === p.id && p.visibility =!= VisibilityTypes.SoftDelete
ou <- userTable if p.userId === ou.id
} yield {
(v, p, c, u.map(_.name), ou)
Expand Down

0 comments on commit 390927d

Please sign in to comment.