Merge lp://qastaging/~edwin-grubbs/launchpad/bug-433809-picker-search-slash into lp://qastaging/launchpad/db-devel
Proposed by
Edwin Grubbs
Status: | Merged |
---|---|
Approved by: | Aaron Bentley |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp://qastaging/~edwin-grubbs/launchpad/bug-433809-picker-search-slash |
Merge into: | lp://qastaging/launchpad/db-devel |
Diff against target: |
150 lines (+100/-20) 2 files modified
lib/lp/registry/tests/test_productseries_vocabularies.py (+72/-0) lib/lp/registry/vocabularies.py (+28/-20) |
To merge this branch: | bzr merge lp://qastaging/~edwin-grubbs/launchpad/bug-433809-picker-search-slash |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Canonical Launchpad Engineering | code | Pending | |
Review via email: mp+15674@code.qastaging.launchpad.net |
Commit message
Fixed ProductSeriesVo
To post a comment you must log in.
Summary
-------
This bug fixes the problem where adding a slash to the search for
a project series always yields zero results.
Since I converted ProductSeriesVo cabulary. search( ) to use storm
directly instead of the sqlobject compatibility layer, I updated
the getTermByToken() method to also use storm.
This will be landed on devel, but since devel still hasn't had
db-devel's changes for 3.1.11 merged in, I'm targeting this
merge proposal to db-devel so that the automatic diff will be correct.
Tests
-----
./bin/test -vv lp.registry. tests.test_ productseries_ vocabularies
Demo and Q/A
------------
* Open https:/ /launchpad. dev/ubuntu/ hoary/+ source/ alsa-utils/ +edit-packaging
* Click the "Choose..." link.
* Searching for "fire/" should show two matching series.
* Searching for "fire/t" should just show 'firefox trunk'.