mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Make 'doomed' reports honor the per-product defaultmilestone setting, rather than looking at the obsolete system-wide 'curmilestone' param.
This commit is contained in:
parent
ede896e5fc
commit
9ffb1cc795
@ -666,6 +666,9 @@ sub most_doomed_for_milestone {
|
||||
|
||||
print "<center>\n<h1>";
|
||||
if( $FORM{'product'} ne "-All-" ) {
|
||||
SendSQL("SELECT defaultmilestone FROM products WHERE product = " .
|
||||
SqlQuote($FORM{'product'}));
|
||||
$ms = FetchOneColumn();
|
||||
print "Most Doomed for $ms ($FORM{'product'})";
|
||||
} else {
|
||||
print "Most Doomed for $ms";
|
||||
@ -785,6 +788,9 @@ sub most_recently_doomed {
|
||||
|
||||
print "<center>\n<h1>";
|
||||
if( $FORM{'product'} ne "-All-" ) {
|
||||
SendSQL("SELECT defaultmilestone FROM products WHERE product = " .
|
||||
SqlQuote($FORM{'product'}));
|
||||
$ms = FetchOneColumn();
|
||||
print "Most Recently Doomed ($FORM{'product'})";
|
||||
} else {
|
||||
print "Most Recently Doomed";
|
||||
|
Loading…
Reference in New Issue
Block a user