mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-23 18:21:42 +08:00
The old way performed a `DISTINCT (module_builds.id)` on the original query passed in to ModuleBuild._add_virtual_streams_filter, but this caused issues when the original query was ordered by something other than ID on Postgres databases. This new approach uses a subquery to filter that module builds with the desired virtual streams, and then joins this subquery to the original query.
47 KiB
47 KiB