diff --git a/manager/controllers/advisories.go b/manager/controllers/advisories.go index a807fc1c9..bb3496186 100644 --- a/manager/controllers/advisories.go +++ b/manager/controllers/advisories.go @@ -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 }