-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree Search Does Not Properly Search All Trees #4849
Comments
v.1.2.22 |
@browniebraun did this work before? Any Javascript errors? |
I'm seeing a similar issue. |
You might want to upload an animation screen2gif @browniebraun |
Tree Search does not properly search all Trees
@TheWitness
Your query did not work for me, but maybe I'm generating the tree with over 5000 items not correctly in my script. In my case instead of h.site_id, gti.site_id should be used for the JOIN statement with sites and a GROUP BY afterwards to get rid of the duplicates. This is working faultlessly for my environment. Regards |
Addendum:
|
Commit it then. But make sure the other route works too. |
This is likely due to the site oriented tree logic. Commit you changes and then I can have a look or keep working through it. |
- Change the query to be more inclusive - Use sub-queries for performance - Start at 3 characters - Don't show 'only' results to allow proper site navigation
Describe the bug
We are using a global, script generated tree with following schema:
World
-> region
-> country
-> state
-> city
-> site
-> Cacti Device Type
-> Device
First off, the search will find matching objects. It doesn't matter if it is part of the device, site or city name, BUT
all elements belonging to a matching items will not be available in most cases.
Example:
You search for "Dear" and Cacti builds following tree:
->World
-> North America
-> US
-> Michigan
-> Dearborn
Leaf sites and assigned device types and devices are not part of the result. Matching City name "Dearborn" is not clickable and does not allow to load underlying elements with another call.
The text was updated successfully, but these errors were encountered: