netbox
netbox copied to clipboard
slim-select-pagination-bug : user not able to load more than one page of data after a text search in slim select search box
Deployment Type
NetBox Cloud
NetBox Version
v3.7.7-dev
Python Version
3.11
Steps to Reproduce
- insert enough entries in extras_tag table such that for a search string "x" there are more than 50 (default max page size) items returned
- open edit page for a dcim device interface
- open tag dialogue box which uses a slim select GUI control under the hood, enter search string "x" in the filter search box
- scroll down to the bottom of the returned list
- notice you cannot get more items behind the first page of returned items although an api call to the next page is already made
Expected Behavior
When user reaches the end of currently returned list of items more items will be extended to the list if there are more.
Observed Behavior
Current behaviour is that user will not be able to go behind the first page of returned items.
correction: the deployment type is self-hosted
@MaxBear I see you have a PR in for this so assigning it to you.
Thanks @arthanson have you had a chance to code review my pr ?
Actually @MaxBear this library has been completely removed in NB v4, so this would no longer apply. Going to close this.
@arthanson we are still on v.3.4.10 for our netbox installation. Will my fix still be looked at and included in a patch release ?
Re-opening this for review as it looks like we'll end up cutting a v3.7.8 release for some unrelated bug fixes.