Metadata-Version: 2.1
Name: netbox-old-search
Version: 0.1.3
Summary: Brings back the old search functionality to NetBox
Home-page: https://github.com/kkthxbye-code/netbox-old-search
Author: kkthxbye-code
Author-email: festll234@gmail.com
Keywords: netbox,netbox-plugin
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# netbox-old-search [![PyPI](https://img.shields.io/pypi/v/netbox_old_search)](https://pypi.org/project/netbox-old-search/#description)

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:

```bash
pip install netbox-old-search
```

Then add to `local_requirements.txt`:

```bash
netbox-old-search
```

## Configuration

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

```python
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](https://github.com/netbox-community/netbox) source code from before the old search engine was removed.

## Screenshots

![Example Screenshot](docs/img/screenshot.png)
