[PR #16118] [MERGED] Fixes #16101: Fix initial loading of pagination widget for dynamic object tables #14782

Closed
opened 2025-12-29 23:26:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16118
Author: @jeremystretch
Created: 5/13/2024
Status: Merged
Merged: 5/14/2024
Merged by: @jeremystretch

Base: developHead: 16101-fix-table-pagination


📝 Commits (1)

  • ddf0c57 Fixes #16101: Fix initial loading of pagination widget for dynamic object tables

📊 Changes

4 files changed (+15 additions, -12 deletions)

View changed files

📝 netbox/templates/htmx/table.html (+11 -9)
📝 netbox/templates/inc/paginator.html (+2 -1)
📝 netbox/templates/inc/table_htmx.html (+1 -1)
📝 netbox/utilities/templates/builtins/htmx_table.html (+1 -1)

📄 Description

Fixes: #16101

Refactor HTMX table structure to swap the entire container, ensuring that the paginator is always included where appropriate.

Please test thoroughly. It seems to work fine AFAICT but there may be some corner cases lingering that I have not considered.


🔄 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/16118 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/13/2024 **Status:** ✅ Merged **Merged:** 5/14/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `16101-fix-table-pagination` --- ### 📝 Commits (1) - [`ddf0c57`](https://github.com/netbox-community/netbox/commit/ddf0c577321d6e9b08118b4c1e1d5fc0d48f8adb) Fixes #16101: Fix initial loading of pagination widget for dynamic object tables ### 📊 Changes **4 files changed** (+15 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/htmx/table.html` (+11 -9) 📝 `netbox/templates/inc/paginator.html` (+2 -1) 📝 `netbox/templates/inc/table_htmx.html` (+1 -1) 📝 `netbox/utilities/templates/builtins/htmx_table.html` (+1 -1) </details> ### 📄 Description ### Fixes: #16101 Refactor HTMX table structure to swap the entire container, ensuring that the paginator is always included where appropriate. **Please test thoroughly.** It seems to work fine AFAICT but there may be some corner cases lingering that I have not considered. --- <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 23:26:42 +01:00
adam closed this issue 2025-12-29 23:26:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14782