[PR #4555] [MERGED] Closes #492: Table column ordering #12873

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4555
Author: @jeremystretch
Created: 4/29/2020
Status: Merged
Merged: 5/4/2020
Merged by: @jeremystretch

Base: developHead: 492-table-column-ordering


📝 Commits (10+)

  • 0ee1112 Initial support for table column reordering
  • e8d4935 Create form for setting table preferences
  • 3442ec7 Enable setting/clearing of table column prefs
  • f51e751 Enable reordering table columns
  • 96eafe6 Document table columns preference
  • 725e3cd Extend circuits tables to include all relevant model fields
  • 8ec2e3c Introduce default_columns Meta parameter to reduce boilerplate
  • 55b40d9 Extend DCIM tables (WIP)
  • ed21ff5 Merge branch 'develop' into 492-table-column-ordering
  • 8868760 Always include the 'actions' column, if present

📊 Changes

20 files changed (+750 additions, -200 deletions)

View changed files

📝 docs/development/user-preferences.md (+1 -0)
📝 netbox/circuits/tables.py (+12 -10)
📝 netbox/circuits/views.py (+3 -3)
📝 netbox/dcim/tables.py (+252 -80)
📝 netbox/dcim/views.py (+2 -6)
📝 netbox/extras/tables.py (+5 -1)
📝 netbox/ipam/tables.py (+220 -63)
📝 netbox/netbox/views.py (+3 -3)
📝 netbox/project-static/js/forms.js (+29 -0)
📝 netbox/secrets/tables.py (+10 -4)
netbox/templates/inc/table_config_form.html (+28 -0)
📝 netbox/templates/utilities/obj_list.html (+6 -0)
📝 netbox/tenancy/tables.py (+3 -2)
📝 netbox/users/models.py (+5 -3)
netbox/users/tests/__init__.py (+0 -0)
📝 netbox/users/tests/test_models.py (+2 -3)
📝 netbox/utilities/forms.py (+24 -1)
📝 netbox/utilities/tables.py (+64 -5)
📝 netbox/utilities/views.py (+20 -2)
📝 netbox/virtualization/tables.py (+61 -14)

📄 Description

Fixes: #492

  • Enable toggling and reordering of table columns for object list views
  • Extends some tables to include additional fields/columns

🔄 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/4555 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/29/2020 **Status:** ✅ Merged **Merged:** 5/4/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `492-table-column-ordering` --- ### 📝 Commits (10+) - [`0ee1112`](https://github.com/netbox-community/netbox/commit/0ee1112d9de7dfb8b02c7fb8b9326298a7f2c73d) Initial support for table column reordering - [`e8d4935`](https://github.com/netbox-community/netbox/commit/e8d493578b4890743abae7cbbdd9da1143876b23) Create form for setting table preferences - [`3442ec7`](https://github.com/netbox-community/netbox/commit/3442ec77a7cc4dbc34d02f6d3f1085e8ad21c1fe) Enable setting/clearing of table column prefs - [`f51e751`](https://github.com/netbox-community/netbox/commit/f51e7519dc8649cbc3ac21cd2b43833a588a26a7) Enable reordering table columns - [`96eafe6`](https://github.com/netbox-community/netbox/commit/96eafe6dc157c635c6069179094dfe3085ee9c36) Document table columns preference - [`725e3cd`](https://github.com/netbox-community/netbox/commit/725e3cdbf3a304deaf62f4cde7871c256336cb76) Extend circuits tables to include all relevant model fields - [`8ec2e3c`](https://github.com/netbox-community/netbox/commit/8ec2e3cc7b5bf75abd929456121f6b1ca6fa0ee8) Introduce default_columns Meta parameter to reduce boilerplate - [`55b40d9`](https://github.com/netbox-community/netbox/commit/55b40d92d474c0bc11ec09017e69df8e4997ec6f) Extend DCIM tables (WIP) - [`ed21ff5`](https://github.com/netbox-community/netbox/commit/ed21ff52ee72ed5d858db4a9a65cd1ceac58a6a4) Merge branch 'develop' into 492-table-column-ordering - [`8868760`](https://github.com/netbox-community/netbox/commit/88687608e7b1a07e61e68a28134998d2dd759150) Always include the 'actions' column, if present ### 📊 Changes **20 files changed** (+750 additions, -200 deletions) <details> <summary>View changed files</summary> 📝 `docs/development/user-preferences.md` (+1 -0) 📝 `netbox/circuits/tables.py` (+12 -10) 📝 `netbox/circuits/views.py` (+3 -3) 📝 `netbox/dcim/tables.py` (+252 -80) 📝 `netbox/dcim/views.py` (+2 -6) 📝 `netbox/extras/tables.py` (+5 -1) 📝 `netbox/ipam/tables.py` (+220 -63) 📝 `netbox/netbox/views.py` (+3 -3) 📝 `netbox/project-static/js/forms.js` (+29 -0) 📝 `netbox/secrets/tables.py` (+10 -4) ➕ `netbox/templates/inc/table_config_form.html` (+28 -0) 📝 `netbox/templates/utilities/obj_list.html` (+6 -0) 📝 `netbox/tenancy/tables.py` (+3 -2) 📝 `netbox/users/models.py` (+5 -3) ➕ `netbox/users/tests/__init__.py` (+0 -0) 📝 `netbox/users/tests/test_models.py` (+2 -3) 📝 `netbox/utilities/forms.py` (+24 -1) 📝 `netbox/utilities/tables.py` (+64 -5) 📝 `netbox/utilities/views.py` (+20 -2) 📝 `netbox/virtualization/tables.py` (+61 -14) </details> ### 📄 Description ### Fixes: #492 - Enable toggling and reordering of table columns for object list views - Extends some tables to include additional fields/columns --- <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:24:06 +01:00
adam closed this issue 2025-12-29 22:24:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12873