~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/bugtask.py

  • Committer: Robert Collins
  • Date: 2011-06-20 07:03:18 UTC
  • mto: (7675.1045.516 db-devel)
  • mto: This revision was merged to the branch mainline in revision 13402.
  • Revision ID: robert@canonical.com-20110620070318-8hfk8vlcs7pbwn8g
replace countBugs with countBugs2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1825
1825
        bug_task_set = getUtility(IBugTaskSet)
1826
1826
        groups = (BugSummary.status, BugSummary.importance,
1827
1827
            BugSummary.has_patch, BugSummary.fixed_upstream)
1828
 
        counts = bug_task_set.countBugs2(self.user, [self.context], groups)
 
1828
        counts = bug_task_set.countBugs(self.user, [self.context], groups)
1829
1829
        # Sum the split out aggregates.
1830
1830
        new = 0
1831
1831
        open = 0