Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 227030
Collapse All | Expand All

(-)common/project-info.class.php (-4 / +13 lines)
Lines 64-73 Link Here
64
			return '';
66
			return '';
65
    }
67
    }
66
    function bugzilla_url() {
68
    function bugzilla_url() {
67
    	if( $this->info->bugzilla->productname )
69
        $x = $this->info->bugzillas;
68
	    	return "https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=" . $this->info->bugzilla->productname . "&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=";
70
    	if( !$x ) return "";
69
	    else
71
    	if( count($x) > 0 ) $x = $x[0];
70
	    	return "";
72
    	if($x->url ) 
73
		  return $x->url;
74
		else {
75
		  if ( $x->productname )
76
    	    return "https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=" . $x->productname . "&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=";
77
    	  else
78
    	  	return "";
79
    	  
80
    	}  
81
    
71
    }
82
    }
72
83
73
}
84
}

Return to bug 227030