Allow Plugins to extend core filters #10053

Closed
opened 2025-12-29 21:26:14 +01:00 by adam · 2 comments
Owner

Originally created by @9er-tom on GitHub (Aug 6, 2024).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v4.0.6

Feature type

New functionality

Proposed functionality

Plugins should be able to extend existing core filter sets, e.g. I have a custom assignment model which maps my custom model System to core model Device, similar to contact assignments.

I would now like to have the option to extend the Devices filter set to be able to filter for devices that are mapped to a specific System

Use case

Mapping plugin models to core models seems like a widely used use-case. Being able to filter for said plugin models would enhance usability and be in line with core functionality.

Database changes

No response

External dependencies

No response

Originally created by @9er-tom on GitHub (Aug 6, 2024). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v4.0.6 ### Feature type New functionality ### Proposed functionality Plugins should be able to extend existing core filter sets, e.g. I have a custom assignment model which maps my custom model `System` to core model `Device`, similar to contact assignments. I would now like to have the option to extend the Devices filter set to be able to filter for devices that are mapped to a specific `System` ### Use case Mapping plugin models to core models seems like a widely used use-case. Being able to filter for said plugin models would enhance usability and be in line with core functionality. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurestatus: revisions needed labels 2025-12-29 21:26:14 +01:00
adam closed this issue 2025-12-29 21:26:14 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 6, 2024):

@9er-tom this is not an actionable FR in its current form. Please revise your post above to include a detailed implementation proposal.

@jeremystretch commented on GitHub (Aug 6, 2024): @9er-tom this is not an actionable FR in its current form. Please revise your post above to include a detailed implementation proposal.
Author
Owner

@9er-tom commented on GitHub (Aug 8, 2024):

thanks for the response, I might take a look at the source code and try to implement a solution myself as soon as I find time for it.

I will close this for now

@9er-tom commented on GitHub (Aug 8, 2024): thanks for the response, I might take a look at the source code and try to implement a solution myself as soon as I find time for it. I will close this for now
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10053