Merge lp:~adeuring/launchpad/filter-private-product-RosettaApplication into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Abel Deuring on 2012-10-26 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 16205 |
| Proposed branch: | lp:~adeuring/launchpad/filter-private-product-RosettaApplication |
| Merge into: | lp:launchpad |
| Diff against target: |
70 lines (+25/-5) 2 files modified
lib/lp/translations/doc/translationsoverview.txt (+10/-0) lib/lp/translations/model/translationsoverview.py (+15/-5) |
| To merge this branch: | bzr merge lp:~adeuring/launchpad/filter-private-product-RosettaApplication |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Deryck Hodge (community) | 2012-10-26 | Approve on 2012-10-26 | |
|
Review via email:
|
|||
Commit Message
omit private products in TranslationsOve
Description of the Change
This branch changes the method TranslationsOve
It does not make much sense to include proprietary or embargoed products that the curent user can see. The method is used to show translatable products on the page https:/
So I added just the expression
(product.
to the SQL query in getMostTranslat
test: ./bin/test -vvt lib/lp/
no lint

Looks good, generally. As mentioned here in person, we need an XXX to note that we don't want this check for NULL once Product. information_ type cannot be NULL. Once the XXX is in place, landing this sounds fine. Also, please add a card to the Kanban board reminding us to revisit this code.