Bug #35737
closedContent view filter errata by id will include module streams of other repos/arches
Description
We fixed the similar issue in 'https://projects.theforeman.org/issues/35610' when filtering errata by date range. Later we found the same issue also happens when filtering errata by id.
Steps to Reproduce:
1. Enable and sync RHEL 8 Baseos and Appstream x86_64 repos
2. Enable and sync RHEL 8 Baseos and Appstream ppcle64 repos.
3. Create a content view and add both repos in step (1)
4. Create the following filters.
Include errata until end date = 16/07/2022
Include all module streams without errata
Include all packages without errata
Include the following errata by id:
- RHSA-2022:7119
- RHSA-2022:7129
- RHSA-2022:7190
- RHSA-2022:7128
- RHSA-2022:7108
- RHSA-2022:7106
- RHSA-2022:7110
- RHSA-2022:7192
- RHSA-2022:7105
- RHSA-2022:7089
- RHSA-2022:7070
- RHSA-2022:7024
- RHSA-2022:7023
- RHSA-2022:6778
- RHSA-2022:6781
- RHSA-2022:6542
- RHSA-2022:6457
- RHSA-2022:6448
- RHSA-2022:6447
- RHSA-2022:6449
- RHSA-2022:6443
- RHSA-2022:6450
- RHSA-2022:6357
- RHSA-2022:6158
- RHSA-2022:5819
- RHSA-2022:5775
- RHSA-2022:5717
- RHSA-2022:5597
5. Publish the content view.
Actual results:
Clicks into the module streams link you will see many ppcle64 module streams in the content view.
Expected results:
Should only include x86 64 module streams in the content view