1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

fix: use left join for segments to avoid nullmapping

This commit is contained in:
Christopher Kolstad 2022-07-14 15:43:39 +02:00
parent 45cd888dbf
commit c5ba4b8ff9
No known key found for this signature in database
GPG Key ID: 559ACB0E3DB5538A

View File

@ -103,7 +103,7 @@ export default class FeatureToggleClientStore
`fss.feature_strategy_id`, `fss.feature_strategy_id`,
`fs.id`, `fs.id`,
) )
.fullOuterJoin('segments', `segments.id`, `fss.segment_id`); .leftJoin('segments', `segments.id`, `fss.segment_id`);
query = query.where({ query = query.where({
archived, archived,