diff --git a/ops/work/web/app.py b/ops/work/web/app.py index ac58a2a..17e9f98 100644 --- a/ops/work/web/app.py +++ b/ops/work/web/app.py @@ -1679,7 +1679,7 @@ def prism_summary(): "select json_build_object(" "'models',(select count(*) from prism.models)," "'source_ok',(select count(*) from prism.models where status='source_ok')," - "'needs_source',(select count(*) from prism.models where status='needs_source'),'products',(select count(*) from prism.models where (quality->>'is_product')::boolean),'support_articles',(select count(*) from prism.models where not coalesce((quality->>'is_product')::boolean,false))," + "'needs_source',(select count(*) from prism.models where status='needs_source'),'products',(select count(*) from prism.models where quality_status='product'),'non_vcs',(select count(*) from prism.models where quality_status='non_vcs_product'),'support_articles',(select count(*) from prism.models where quality_status='support_article')," "'sources',(select count(*) from prism.sources)," "'datasheets',(select count(*) from prism.sources where doc_type='datasheet')," "'specs',(select count(*) from prism.specs),"