Skip to content

Commit

Permalink
RHINENG-14390: display advisories with applicable systems
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Nov 22, 2024
1 parent 2894eb2 commit f7652bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manager/controllers/advisories.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ func buildQueryAdvisories(db *gorm.DB, account int) *gorm.DB {
query := database.AdvisoryMetadata(db).
Select(AdvisoriesSelect).
Joins("JOIN advisory_account_data aad ON am.id = aad.advisory_id").
Where("aad.rh_account_id = ?", account)
Where("aad.rh_account_id = ?", account).
Where("aad.systems_applicable > 0")
return query
}

Expand Down

0 comments on commit f7652bb

Please sign in to comment.