1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-19 01:17:18 +02:00

fix: active flags double stale flags

This commit is contained in:
sjaanus 2024-11-06 14:42:24 +02:00
parent 1b568d1503
commit 3633fa4683
No known key found for this signature in database
GPG Key ID: 20E007C0248BA7FF

View File

@ -192,7 +192,7 @@ export class ProjectReadModel implements IProjectReadModel {
'projects.id, projects.health, ' + 'projects.id, projects.health, ' +
'count(features.name) FILTER (WHERE features.archived_at is null) AS number_of_features, ' + 'count(features.name) FILTER (WHERE features.archived_at is null) AS number_of_features, ' +
'count(features.name) FILTER (WHERE features.archived_at is null and features.stale IS TRUE) AS stale_feature_count, ' + 'count(features.name) FILTER (WHERE features.archived_at is null and features.stale IS TRUE) AS stale_feature_count, ' +
'count(features.name) FILTER (WHERE features.archived_at is null and features.potentially_stale IS TRUE) AS potentially_stale_feature_count', 'count(features.name) FILTER (WHERE features.archived_at is null and features.potentially_stale IS TRUE and features.stale IS FALSE) AS potentially_stale_feature_count',
), ),
'project_stats.avg_time_to_prod_current_window', 'project_stats.avg_time_to_prod_current_window',
'projects.archived_at', 'projects.archived_at',