Skip to content

Unable to View IPAM > Prefixes when sorting by SCOPE #18406

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

Closed
Flol0 opened this issue Jan 16, 2025 · 1 comment · Fixed by #18418
Closed

Unable to View IPAM > Prefixes when sorting by SCOPE #18406

Flol0 opened this issue Jan 16, 2025 · 1 comment · Fixed by #18418
Assignees
Labels
severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@Flol0
Copy link

Flol0 commented Jan 16, 2025

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.2.1

Python Version

3.11

Steps to Reproduce

  1. Click on IPAM followed by Prefixes
  2. In the Top Row click on SCOPE (which should sort the List by Scope Names)
  3. Reload the page because nothing is happening

Expected Behavior

The list should be sorted by SCOPE afterwards

Observed Behavior

Instead i got this message:
image

Workaround:

  1. In the top right go to your username -> Preferences
  2. Clear the Table configuration for table "PrefixTable"
@Flol0 Flol0 added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Jan 16, 2025
@DanSheps DanSheps added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation severity: medium Results in substantial degraded or broken functionality for specfic workflows and removed status: needs triage This issue is awaiting triage by a maintainer labels Jan 16, 2025
@bctiemann
Copy link
Contributor

bctiemann commented Jan 16, 2025

It looks like our existing pattern

scope = tables.Column(
verbose_name=_('Scope'),
linkify=True,
orderable=False
)

is to set orderable=False on the scope field in these tables.

It would be more ideal to make the Scope column orderable, but given that we have this precedent I think at least consistency (and prevention of a crash) is an improvement.

@bctiemann bctiemann self-assigned this Jan 16, 2025
@bctiemann bctiemann added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Jan 16, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
3 participants