Dzahn has submitted this change and it was merged.

Change subject: Try again to list urgent issues in Bugzilla Weekly Report 
email. Now that I've visited the Logic School again...
......................................................................


Try again to list urgent issues in Bugzilla Weekly Report email.
Now that I've visited the Logic School again...

Bug: 46577
Change-Id: Ic7fbca8c66f3615da97814025bc6e90e7c4c8fa1
---
M templates/misc/bugzilla_report.php
1 file changed, 1 insertion(+), 4 deletions(-)

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 49ce0a0..40051ad 100755
--- a/templates/misc/bugzilla_report.php
+++ b/templates/misc/bugzilla_report.php
@@ -148,7 +148,6 @@
 END;
 }
 
-/* TODO: Make query not return closed tickets - see 
https://bugzilla.wikimedia.org/show_bug.cgi?id=47176 */
 function getHighestPrioTickets() {
          return <<<END
 SELECT
@@ -174,7 +173,7 @@
 AND
         ( bug_status != "RESOLVED" AND bug_status != "VERIFIED" AND bug_status 
!= "CLOSED" )
 AND
-        priority = "Highest" OR priority = "Immediate"
+        ( priority = "Highest" OR priority = "Immediate" )
 ORDER BY
         product, component, delta_ts
 LIMIT
@@ -309,7 +308,6 @@
         formatOutput($result);
         print "\n";
 }
-/*
 print "\nMost urgent open issues\n\n";
 foreach ($urgentStatistics as $report) {
         $sql = getHighestPrioTickets();
@@ -318,4 +316,3 @@
                 reportFailure("Query failure");
         formatOutputHighestPrio($result);
 }
-*/

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic7fbca8c66f3615da97814025bc6e90e7c4c8fa1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: 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

Reply via email to