Content -> Errata: showing incorrect hosts for installable errata
Description of problem:
Scenario (from UI)
- have multiple content hosts that have installable errata; however, have different errata for some of the hosts... e.g. host 1 has errata A & B, host 2 has errata A & B, host 3 has errata C
- go to Content
> Errata select errata id for A
- click 'Content Hosts'
- observe that hosts 1 & 2 are listed
- click checkbox next to 'Only show content hosts where the errata is currently installable in the host's Lifecycle Environment.'
- all 3 hosts are shown; however, host 3 does not need errata A
fixes #16762 - fix search for installable_errata on hosts
Prior to this change, if a host was associated with a repository
that had errrata, performing a search for hosts where
installable_errata was from that repository, the search
would also return those hosts that did not need it.