Merge lp:~mhr3/unity-lens-applications/fix-960269 into lp:unity-lens-applications
Proposed by
Michal Hruby
Status: | Merged |
---|---|
Approved by: | Mikkel Kamstrup Erlandsen |
Approved revision: | 281 |
Merged at revision: | 280 |
Proposed branch: | lp:~mhr3/unity-lens-applications/fix-960269 |
Merge into: | lp:unity-lens-applications |
Diff against target: |
27 lines (+10/-2) 2 files modified
src/unity-package-search.cc (+2/-2) tests/test-keyword-relevancy.sh (+8/-0) |
To merge this branch: | bzr merge lp:~mhr3/unity-lens-applications/fix-960269 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mikkel Kamstrup Erlandsen (community) | Approve | ||
Review via email: mp+99492@code.launchpad.net |
Commit message
Set relevancies of Keywords to zero
Description of the change
Set relevancy of keywords found in the desktop files to 0, for non-zero values we could get into situation where exact match in keywords will be more relevant than a prefix match in the name which looks to the user as broken sorting.
Added a test-case to make sure this doesn't regress in the future.
To post a comment you must log in.
on the one!