Update implementation count query to exclude negative implementation statuses

Mon, 20 Mar 2023 11:49:20 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 20 Mar 2023 11:49:20 +0000
changeset 6
266242703b38
parent 5
e28748388509
child 7
bfc568736c13

Update implementation count query to exclude negative implementation statuses

E.g. 'removed' or 'wontfix' are possible implementation statuses.

metadata.yml file | annotate | diff | comparison | revisions
--- a/metadata.yml	Mon Mar 20 11:40:59 2023 +0000
+++ b/metadata.yml	Mon Mar 20 11:49:20 2023 +0000
@@ -51,6 +51,10 @@
                 implementations
               where
                 implementations.xep_id == xeps.id
+                and (
+                  implementations.status is null
+                  or implementations.status in ('complete', 'partial')
+                )
             ) as implementation_count
           from
             xeps

mercurial