[PR #8788] [CLOSED] Hide pk column in tables if it is not required #13392

Closed
opened 2025-12-29 22:27:09 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8788
Author: @peteeckel
Created: 3/3/2022
Status: Closed

Base: featureHead: fix/hide-pk-column


📝 Commits (1)

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 netbox/netbox/views/generic/bulk_views.py (+5 -2)

📄 Description

Fixes: #8787

When a table object is created, the pk column may be shown by default.

While the original code shows a previously hidden column if it is needed, it does not hide the pk column if it is not required. This PR fixes that behaviour.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/8788 **Author:** [@peteeckel](https://github.com/peteeckel) **Created:** 3/3/2022 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `fix/hide-pk-column` --- ### 📝 Commits (1) - [`5a93cd4`](https://github.com/netbox-community/netbox/commit/5a93cd460a6e26aac816d1de446b5b74062e7183) Fixes #8787: Hide pk column if not required ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/views/generic/bulk_views.py` (+5 -2) </details> ### 📄 Description ### Fixes: #8787 When a table object is created, the pk column may be shown by default. While the original code shows a previously hidden column if it is needed, it does not hide the pk column if it is not required. This PR fixes that behaviour. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:27:09 +01:00
adam closed this issue 2025-12-29 22:27:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13392