Dzahn has submitted this change and it was merged.
Change subject: Bugzilla Weekly Report: Don't list random products but top 5
......................................................................
Bugzilla Weekly Report: Don't list random products but top 5
Bug: 49845
Change-Id: Iecdc7439463f58be272cf0b73f662ac91d0b061b
---
M templates/misc/bugzilla_report.php
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/templates/misc/bugzilla_report.php
b/templates/misc/bugzilla_report.php
index bc025dd..61a26af 100755
--- a/templates/misc/bugzilla_report.php
+++ b/templates/misc/bugzilla_report.php
@@ -5,7 +5,7 @@
print "Created reports per product\n\n";
return <<<END
SELECT
- name, count(*)
+ name, count(*) as total
FROM
bugs
JOIN
@@ -20,6 +20,9 @@
"$end_date"
GROUP BY
product_id
+ORDER BY
+ total
+DESC
LIMIT 5;
END;
}
--
To view, visit https://gerrit.wikimedia.org/r/69629
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iecdc7439463f58be272cf0b73f662ac91d0b061b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Aklapper <[email protected]>
Gerrit-Reviewer: Aklapper <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits