Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pettai
Copy link
Contributor

@pettai pettai commented Dec 19, 2025

Adds better sorting, so the most relevant item ends up at the top of the list.

What does it do?

Sorts based on the search string and puts items that starts with the search string on top (instead of sorting the items in alphabetical order)

Example: using Add Object, and searching for the an object template. Typing in "user" in the search field, will sort and highlight "user-account" at the top
The current behavior puts "ftm-UserAccount" at the top, then "github-user", etc.

Fixes Issue described in #10578

Questions

  • Does it require a DB change?
  • Are you using it in production?
  • Does it require a change in the API (PyMISP for example)?

Add enhanced sorting, so the most relevant item ends up at the top of the list
@iglocska
Copy link
Member

That's a good idea, thanks!

@iglocska iglocska merged commit 02194ec into MISP:2.5 Dec 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants