Merge lp:~dooferlad/launchpad/postponed-is-done-wi-auto-open-fix into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Graham Binns on 2012-05-22 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15285 |
| Proposed branch: | lp:~dooferlad/launchpad/postponed-is-done-wi-auto-open-fix |
| Merge into: | lp:launchpad |
| Diff against target: |
28 lines (+6/-1) 2 files modified
lib/lp/registry/browser/person.py (+2/-1) lib/lp/registry/browser/tests/test_person_upcomingwork.py (+4/-0) |
| To merge this branch: | bzr merge lp:~dooferlad/launchpad/postponed-is-done-wi-auto-open-fix |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Graham Binns (community) | code | 2012-05-22 | Approve on 2012-05-22 |
|
Review via email:
|
|||
Commit Message
Work item lists on the upcoming work page auto-expand if there are work items that need further work. For that logic, count POSTPONED as complete.
Description of the Change
-- Summary
Bug Fix: Two recent changes to the upcoming work view didn’t quite mesh. One changed how we calculate % of work complete for a blueprint (done + postponed Vs everything else) and the other auto-expanded all work item lists that had unfinished work associated with them. The function that returns if there was any unfinished work for a blueprint did not get updated.
-- Proposed fix
Modify WorkItemContain
-- Pre-implementation notes
None.
-- Implementation details
Modified WorkItemContain
-- LOC Rationale
Added a few lines because of new functionality. These will be more than offset by:
https:/
-- Tests
bin/test -cvt test_person_
-- Demo and Q/A
1. In a dev instance run http://
2. Visit https:/
-- Lint
None.
