The searchbar has an bug with "short" custom vars, that matches the object type.
It seems "built-in" variables are prioritized inside the SearchBar. Custom vars are display at the bottom. Also I think there is an hardcoded limit of suggestions that will be displayed.
"os" is part of the string "host". So if you try to search for "os" inside of icingadb/hosts it will always show the "built-in" variables first. The custom var will not be shown.
To Reproduce
Create a custom var "os"
Try to use it inside of icingadb/hosts
You wont find it
Expected behavior
The custom var should be displayed when it is matching 100%.
Your Environment
Include as many relevant details about the environment you experienced the problem in.
Describe the bug
The searchbar has an bug with "short" custom vars, that matches the object type.
It seems "built-in" variables are prioritized inside the SearchBar. Custom vars are display at the bottom. Also I think there is an hardcoded limit of suggestions that will be displayed.
"os" is part of the string "host". So if you try to search for "os" inside of
icingadb/hosts
it will always show the "built-in" variables first. The custom var will not be shown.To Reproduce
icingadb/hosts
Expected behavior
The custom var should be displayed when it is matching 100%.
Your Environment
Include as many relevant details about the environment you experienced the problem in.
ref/NC/836693