Merge lp:~jamesh/unity-scope-scopes/remove-duplicate-results into lp:unity-scope-scopes
Proposed by
James Henstridge
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Michal Hruby | ||||||||
Approved revision: | 36 | ||||||||
Merged at revision: | 30 | ||||||||
Proposed branch: | lp:~jamesh/unity-scope-scopes/remove-duplicate-results | ||||||||
Merge into: | lp:unity-scope-scopes | ||||||||
Diff against target: |
241 lines (+106/-47) 2 files modified
src/scopes-scope.cpp (+102/-46) src/scopes-scope.h (+4/-1) |
||||||||
To merge this branch: | bzr merge lp:~jamesh/unity-scope-scopes/remove-duplicate-results | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michal Hruby (community) | Approve | ||
Review via email: mp+213515@code.launchpad.net |
Commit message
Fix result de-duplication in the slow path, and update the presentation of results a bit to match the design better.
Description of the change
The scopes scope was not correctly removing duplicate results in the slow path for pushing results. This branch fixes this.
In addition, it makes a few other changes:
1. Don't query for online results when surfacing.
2. When presenting search results, use a different rendering template and present results under a single category.
3. Use the actual author metadata in results.
4. Copy over the department value from online results and use it when activating the result.
To post a comment you must log in.
The de-duplication works fine now and search results look more like in the design.
Do we plan to add also the ability to list the same scope multiple times (with different departments)? Is that going to be in this branch, or should we just land this and fix that in another one?