BugTaskSet.getAssignedMilestonesFromSearch() can call BugTaskSet._search() directly and retrieve the milestones with one SQL query instead of two
Bug #675595 reported by
Abel Deuring
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Abel Deuring |
Bug Description
At present, BugTaskSet.
BugTaskSet.
Related branches
lp://qastaging/~adeuring/launchpad/bug-675595
- Graham Binns (community): Approve (code)
-
Diff: 434 lines (+183/-22)7 files modifiedlib/lp/bugs/interfaces/bugtarget.py (+6/-3)
lib/lp/bugs/interfaces/bugtask.py (+11/-7)
lib/lp/bugs/model/bugtarget.py (+4/-4)
lib/lp/bugs/model/bugtask.py (+10/-2)
lib/lp/bugs/tests/test_bugtarget.py (+108/-1)
lib/lp/bugs/tests/test_bugtask_search.py (+37/-2)
lib/lp/registry/model/person.py (+7/-3)
lp://qastaging/~adeuring/launchpad/bug-675595-2
- Māris Fogels (community): Approve
-
Diff: 565 lines (+200/-119)9 files modifiedlib/canonical/launchpad/systemhomes.py (+7/-4)
lib/lp/bugs/browser/bugtask.py (+2/-2)
lib/lp/bugs/browser/tests/test_buglisting.py (+26/-0)
lib/lp/bugs/doc/milestones-from-bugtask-search.txt (+0/-54)
lib/lp/bugs/interfaces/bugtask.py (+0/-7)
lib/lp/bugs/interfaces/malone.py (+1/-1)
lib/lp/bugs/model/bugtask.py (+0/-38)
lib/lp/registry/browser/person.py (+26/-12)
lib/lp/registry/browser/tests/test_person_view.py (+138/-1)
Changed in malone: | |
importance: | Undecided → High |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r11973 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 11973>.