DSP.recalculateBugHeatCache is counting all bugs to get
self.max_bug_heat, self.total_bug_heat, self.bug_count
I think this should only count open bugs. The orginal query that calculated total_bug_heat and bug_count used
bugtask.status in UNRESOLVED_BUGTASK_STATUSES
in the query to ensure closed bugs did not taint the priorities.
max_bug_heat may have always been counting all bugs, but I think this too should only be looking at open bugs.
DSP.recalculate BugHeatCache is counting all bugs to get max_bug_ heat, self.total_ bug_heat, self.bug_count
self.
I think this should only count open bugs. The orginal query that calculated total_bug_heat and bug_count used BUGTASK_ STATUSES
bugtask.status in UNRESOLVED_
in the query to ensure closed bugs did not taint the priorities.
max_bug_heat may have always been counting all bugs, but I think this too should only be looking at open bugs.