[PR #15918] [MERGED] Fixes #15917: slim-select-pagination-bug-fix : fixed several bugs related to slim select #14721

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15918
Author: @MaxBear
Created: 5/2/2024
Status: Merged
Merged: 5/3/2024
Merged by: @jeremystretch

Base: developHead: pagination


📝 Commits (2)

  • 6aa2e54 slim-select-pagination-bug-fix : fixed several bugs related to slim
  • 2d8ed0c Recompile static assets

📊 Changes

3 files changed (+54 additions, -27 deletions)

View changed files

📝 netbox/project-static/dist/netbox.js (+4 -4)
📝 netbox/project-static/dist/netbox.js.map (+1 -1)
📝 netbox/project-static/src/select/api/apiSelect.ts (+49 -22)

📄 Description

Fixes: #15917

  1. introduce internal state variable searchKey
  2. add render() in handleSearch() function
  3. call handleSearch() when atbottom event is triggered
  4. call handleSearch() after refresh button is clicked

🔄 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/15918 **Author:** [@MaxBear](https://github.com/MaxBear) **Created:** 5/2/2024 **Status:** ✅ Merged **Merged:** 5/3/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `pagination` --- ### 📝 Commits (2) - [`6aa2e54`](https://github.com/netbox-community/netbox/commit/6aa2e541114dc90ee44c7b1722fbd74dbd23be81) slim-select-pagination-bug-fix : fixed several bugs related to slim - [`2d8ed0c`](https://github.com/netbox-community/netbox/commit/2d8ed0cca79ef514ecf2c6bdcf459f59828cbd7d) Recompile static assets ### 📊 Changes **3 files changed** (+54 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox.js` (+4 -4) 📝 `netbox/project-static/dist/netbox.js.map` (+1 -1) 📝 `netbox/project-static/src/select/api/apiSelect.ts` (+49 -22) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #15917 <!-- Please include a summary of the proposed changes below. --> 1. introduce internal state variable searchKey 2. add render() in handleSearch() function 3. call handleSearch() when atbottom event is triggered 4. call handleSearch() after refresh button is clicked --- <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:17 +01:00
adam closed this issue 2025-12-29 23:26:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14721