Add filter of Object type to Tag view #4090

Closed
opened 2025-12-29 18:33:03 +01:00 by adam · 4 comments
Owner

Originally created by @robbagithub on GitHub (Sep 10, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.9
  • NetBox version: 2.9.2

Proposed Functionality

When search for specific objects with tag values it would be very helpful to have one of the below options.

  1. Addition of object type filter in tags view as in the below screen shot
    image
    or
  2. Addition of object type 'tag' in the "All objects" drop down on the main page.
  3. A third option would be to have a column that displays the non-zero counted object types in the tags view, so you would at least know the object types that have this tag.

Use Case

Unless you know exactly which object type has that tag assigned it is difficult to actually find those objects with that tag.
If I wish to find all objects with a tag called 'Tested-Operational' I need to search each specific object type for that 'tag' value.

Database Changes

None required

External Dependencies

None Required

Originally created by @robbagithub on GitHub (Sep 10, 2020). Originally assigned to: @jeremystretch on GitHub. <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for proposing specific new features or enhancements. If you have a general idea or question, please post to our mailing list instead of opening an issue: https://groups.google.com/forum/#!forum/netbox-discuss NOTE: Due to an excessive backlog of feature requests, we are not currently accepting any proposals which significantly extend NetBox's feature scope. Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: 3.6.9 <!-- Example: 3.6.9 --> * NetBox version: 2.9.2 <!-- Example: 2.7.3 --> <!-- Describe in detail the new functionality you are proposing. Include any specific changes to work flows, data models, or the user interface. --> ### Proposed Functionality When search for specific objects with tag values it would be very helpful to have one of the below options. 1. Addition of object type filter in tags view as in the below screen shot ![image](https://user-images.githubusercontent.com/22147754/92678883-4fda2200-f36a-11ea-8818-de69f3bb8d55.png) or 2. Addition of object type 'tag' in the "All objects" drop down on the main page. 3. A third option would be to have a column that displays the non-zero counted object types in the tags view, so you would at least know the object types that have this tag. <!-- Convey an example use case for your proposed feature. Write from the perspective of a NetBox user who would benefit from the proposed functionality and describe how. ---> ### Use Case Unless you know exactly which object type has that tag assigned it is difficult to actually find those objects with that tag. If I wish to find all objects with a tag called 'Tested-Operational' I need to search each specific object type for that 'tag' value. <!-- Note any changes to the database schema necessary to support the new feature. For example, does the proposal require adding a new model or field? (Not all new features require database changes.) ---> ### Database Changes None required <!-- List any new dependencies on external libraries or services that this new feature would introduce. For example, does the proposal require the installation of a new Python package? (Not all new features introduce new dependencies.) --> ### External Dependencies None Required
adam added the status: acceptedtype: feature labels 2025-12-29 18:33:03 +01:00
adam closed this issue 2025-12-29 18:33:03 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 14, 2020):

This requires the introduction of a new filter for tags in addition to the UI work.

@robbagithub would you like to volunteer for this this work?

@jeremystretch commented on GitHub (Sep 14, 2020): This requires the introduction of a new filter for tags in addition to the UI work. @robbagithub would you like to volunteer for this this work?
Author
Owner

@robbagithub commented on GitHub (Sep 15, 2020):

@jeremystretch Happy to do the leg work in designing the UI and how the logic might work. Not sure I've the skills to get into the code. I'll have a stab at the design and go from there.

@robbagithub commented on GitHub (Sep 15, 2020): @jeremystretch Happy to do the leg work in designing the UI and how the logic might work. Not sure I've the skills to get into the code. I'll have a stab at the design and go from there.
Author
Owner

@jeremystretch commented on GitHub (Oct 30, 2020):

@robbagithub have you been able to make any progress with this?

@jeremystretch commented on GitHub (Oct 30, 2020): @robbagithub have you been able to make any progress with this?
Author
Owner

@robbagithub commented on GitHub (Oct 30, 2020):

I’ve failed to unfortunately. Not forgotten though.

On Sat, 31 Oct 2020 at 00:58, Jeremy Stretch notifications@github.com
wrote:

@robbagithub https://github.com/robbagithub have you been able to make
any progress with this?


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/netbox-community/netbox/issues/5121#issuecomment-719567959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFI7FKSXNPCTMU4UY5WMYTLSNLA7XANCNFSM4REBMDOQ
.

@robbagithub commented on GitHub (Oct 30, 2020): I’ve failed to unfortunately. Not forgotten though. On Sat, 31 Oct 2020 at 00:58, Jeremy Stretch <notifications@github.com> wrote: > @robbagithub <https://github.com/robbagithub> have you been able to make > any progress with this? > > — > You are receiving this because you were mentioned. > > > Reply to this email directly, view it on GitHub > <https://github.com/netbox-community/netbox/issues/5121#issuecomment-719567959>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AFI7FKSXNPCTMU4UY5WMYTLSNLA7XANCNFSM4REBMDOQ> > . >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4090