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:
parent
1b568d1503
commit
3633fa4683
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user