Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Racktype Global Search #17671

Closed
Hardi100 opened this issue Oct 3, 2024 · 0 comments · Fixed by #17672
Closed

Racktype Global Search #17671

Hardi100 opened this issue Oct 3, 2024 · 0 comments · Fixed by #17672
Assignees
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@Hardi100
Copy link

Hardi100 commented Oct 3, 2024

Deployment Type

NetBox Cloud

NetBox Version

v4.1.3

Python Version

3.10

Steps to Reproduce

This issue is created from #17586. Nothing is happening in issue #17586, that's why I'm creating a new one with more details.
I am using https://demo.netbox.dev/ to reproduce the bug. The bug is located here: https://github.com/netbox-community/netbox/blob/develop/netbox/dcim/search.py#L253 'type' has to be replaced with 'model'.

  1. Create a Rack Type. Set the model to "testRack".
    screencapture-demo-netbox-dev-dcim-rack-types-add-2024-10-03-15_44_43
  2. After the Rack Type is created, click on the global search bar, filter for "test"
    screencapture-demo-netbox-dev-dcim-rack-types-2-2024-10-03-15_45_55
  3. Click enter to search and this screen will appear
    screencapture-demo-netbox-dev-search-2024-10-03-15_46_03

Expected Behavior

The global Search should filter for objects, with "test" in them. There should be no error.

Observed Behavior

An error page appeared because of this line: https://github.com/netbox-community/netbox/blob/develop/netbox/dcim/search.py#L253 'type' has to be replaced with 'model'.

@Hardi100 Hardi100 added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Oct 3, 2024
@arthanson arthanson added status: accepted This issue has been accepted for implementation severity: low Does not significantly disrupt application functionality, or a workaround is available and removed status: needs triage This issue is awaiting triage by a maintainer labels Oct 3, 2024
@arthanson arthanson self-assigned this Oct 3, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants