In the editor, suggestions should start with keys matching the user's query

Description

  • Sometimes, there are thousands of requirements depending on one,

  • In the RTE, when searching for it, we return the first 20 that match a user's query,

  • We match both the description and the key. That means the first 20 could be those with 'REQ-001' in the description, but the one with 'REQ-001' as a key may not be the first one. So it is not returned.

  • We should first return the suggestions matching the key, then only return suggestions matching the description.

Environment

None

Observations

None
Resolved

Assignee

Adrien Ragot (Play SQL / Requirement Yogi)

Reporter

User known

Labels

None

Participants

None

Components

Fix versions

Priority

Matter of months