-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.1.7
Python version
3.8
Steps to Reproduce
- Open the sites list as an authenticated user
- Add or remove a table column (to effect a custom configuration)
- Inspect the UserConfig instance for the user in the NetBox shell:
>>> config = UserConfig.objects.get(user_id=$USERID)
>>> config.data['tables']['SiteTable']
{'columns': ['name', 'status', 'facility', 'region', 'tenant', 'tags'], 'available_columns': []}Expected Behavior
The table preferences should include only the columns key.
Observed Behavior
The available_columns key is also present, and contains an empty list.
Although this has no known impact on NetBox's operation, this key should not appear in UserConfig data.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application