Skip to content
Commit 7c00be12 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

ensure results are sorted by relevance

Summary:
once we have built our actual final "raw-data" in the mapping
hash, we iterate all runners and sort their match lists.

this in particular prevents matches to get modeled in order of
appearance rather than relevance, which for finely relevance sorted
runners such as the services runner is very important to give
the most suitable results first.

Test Plan:
- add some chrome sites to desktop
- search for chrome in kickoff
- results ordered as per services runner relevance with chrome itself at the top of the list

Reviewers: hein

Reviewed By: hein

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3704
parent aeec4ae8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment