1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Fix full outer joins to left joins (#1856)

This commit is contained in:
sjaanus 2022-07-26 08:02:28 +00:00 committed by GitHub
parent cd83ba3184
commit b9c95c5272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,12 +332,12 @@ class FeatureStrategiesStore implements IFeatureStrategiesStore {
'environments.sort_order as environment_sort_order', 'environments.sort_order as environment_sort_order',
) )
.modify(FeatureToggleStore.filterByArchived, archived) .modify(FeatureToggleStore.filterByArchived, archived)
.fullOuterJoin( .leftJoin(
'feature_environments', 'feature_environments',
'feature_environments.feature_name', 'feature_environments.feature_name',
'features.name', 'features.name',
) )
.fullOuterJoin( .leftJoin(
'environments', 'environments',
'feature_environments.environment', 'feature_environments.environment',
'environments.name', 'environments.name',