[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    bugs
From:       Matt Rogers <mattr () kde ! org>
Date:       2008-11-21 2:19:38
Message-ID: 1227233978.739292.6325.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 887081 by mattr:

Make sure bugs are closed when loading the top 20 closers list.

This means you don't get credit anymore if a bug gets reopened. Sorry!

BUG: 175712

 M  +3 -2      3.0/weekly-bug-summary.cgi  
 M  +3 -2      3.2/weekly-bug-summary.cgi  


--- trunk/bugs/3.0/weekly-bug-summary.cgi #887080:887081
@@ -226,14 +226,15 @@
 from
     bugs, bugs_activity, profiles assign
 where
-    (bugs_activity.added='RESOLVED' or bugs_activity.added='CLOSED')
+    (bugs_activity.added='RESOLVED' or bugs_activity.added = 'CLOSED')
 and
     bugs_activity.bug_when >= from_days(TO_DAYS(NOW()) - ?)
 and
     bugs_activity.who = assign.userid
 and
     bugs.bug_id = bugs_activity.bug_id
-
+and
+    (bugs.bug_status = 'RESOLVED' or bugs.bug_status = 'CLOSED')
 group by assign.login_name
 order by n desc
 limit ?
--- trunk/bugs/3.2/weekly-bug-summary.cgi #887080:887081
@@ -226,14 +226,15 @@
 from
     bugs, bugs_activity, profiles assign
 where
-    (bugs_activity.added='RESOLVED' or bugs_activity.added='CLOSED')
+    (bugs_activity.added='RESOLVED' or bugs_activity.added = 'CLOSED')
 and
     bugs_activity.bug_when >= from_days(TO_DAYS(NOW()) - ?)
 and
     bugs_activity.who = assign.userid
 and
     bugs.bug_id = bugs_activity.bug_id
-
+and
+    (bugs.bug_status = 'RESOLVED' or bugs.bug_status = 'CLOSED')
 group by assign.login_name
 order by n desc
 limit ?
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic