/netbox-old-search

Adds the old search functionality to NetBox 3.3+

Primary LanguagePythonApache License 2.0Apache-2.0

netbox-old-search PyPI

This plugin brings back the old global search method that was used in netbox prior to NetBox v3.4.0. The plugin is intended for users that prefer the old search method, or prefers to have the option to use both.

Version Compatibility

Should work with all current versions of NetBox >= v3.4.0.

Installing

With pip:

pip install netbox-old-search

Then add to local_requirements.txt:

netbox-old-search

Configuration

Enable the plugin in /opt/netbox/netbox/netbox/configuration.py:

PLUGINS = [
    "netbox_old_search"
]

PLUGINS_CONFIG = {
    "netbox_old_search": {
        "replace_search": True, # Hijacks the top search bar in netbox, redirecting to this plugins search method instead
        "show_menu": False, # Shows a link to the old search form in the plugin menu
    },
}

Attribution

A lot of the code is repurposed from the netbox source code from before the old search engine was removed.

Screenshots

Example Screenshot