Skip to content

Search integration in plugins #8927

Closed
@johannwagner

Description

@johannwagner

NetBox version

v3.1.6

Feature type

New functionality

Proposed functionality

We would like to introduce a possibility to search within added models of plugins. We would probably add a search.py within the plugin root repository that exposes a similar formed structure as in

SEARCH_TYPE_HIERARCHY = {
, similar to menu items. Therefore, this can be included into SEARCH_TYPES on plugin load to to enable a search in plugins.

We would be happy to provide a PR.

Use case

We do some heavy lifting within Netbox plugins that is going to be extended after the next v3.2 release. Therefore, we need to search in our custom models to ensure a good usability.

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtopic: pluginsRelates to the plugins frameworktype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions