[Collab-qa-commits] r1921 - udd/web
Lucas Nussbaum
lucas at alioth.debian.org
Sat Mar 26 07:04:45 UTC 2011
Author: lucas
Date: 2011-03-26 07:04:44 +0000 (Sat, 26 Mar 2011)
New Revision: 1921
Modified:
udd/web/bapase.cgi
Log:
bapase: display last modification
Modified: udd/web/bapase.cgi
===================================================================
--- udd/web/bapase.cgi 2011-03-25 12:26:58 UTC (rev 1920)
+++ udd/web/bapase.cgi 2011-03-26 07:04:44 UTC (rev 1921)
@@ -153,6 +153,9 @@
if type == 'o'
orphaned = true
query = "select * from bapase where type is not null and type in ('O', 'ITA') order by orphaned_age desc"
+elsif type == 'o2'
+ orphaned = true
+ query = "select * from bapase where type is not null and type in ('O', 'ITA') and orphaned_age >= 600 and orphaned_age < 730 and insts < 300 and last_modified_age > 60 order by last_modified_age desc"
elsif type == 'rfa'
orphaned = true
query = "select * from bapase where type is not null and type in ('RFA') order by orphaned_age desc"
@@ -326,7 +329,7 @@
end
if orphaned
if r['type']
- puts "<td><a href=\"http://bugs.debian.org/#{r['bug']}\">#{r['type']}</a> (#{r['orphaned_age']})</td>"
+ puts "<td><a href=\"http://bugs.debian.org/#{r['bug']}\">#{r['type']}</a> (#{r['orphaned_age']}, #{r['last_modified_age']})</td>"
else
puts "<td></td>"
end
More information about the Collab-qa-commits
mailing list