jenkins-bot has submitted this change and it was merged.

Change subject: Fix betafeature counts global query
......................................................................


Fix betafeature counts global query

The incorrect col was being selected.

Change-Id: I4165a3ef9f18a7d98b14bf3a09ef49b18c6c1f28
---
M src/betafeatures/counts.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Addshore: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/betafeatures/counts.php b/src/betafeatures/counts.php
index 724cf34..a0abe56 100755
--- a/src/betafeatures/counts.php
+++ b/src/betafeatures/counts.php
@@ -81,7 +81,7 @@
        }
 }
 
-$sql = "SELECT COUNT(*) AS count, up_property as feature";
+$sql = "SELECT COUNT(*) AS count, feature";
 $sql .= " FROM staging.wmde_analytics_betafeature_users";
 $sql .= " GROUP BY up_property";
 $queryResult = $pdo->query( $sql );

-- 
To view, visit https://gerrit.wikimedia.org/r/300701
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4165a3ef9f18a7d98b14bf3a09ef49b18c6c1f28
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wmde/scripts
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to