Pagination in modules list does not reset on short search output #2883
Open
Description
Describe the bug
If we are on a page of other than 1 of a long search output, providing a search prompt with less results causes the results to disappear until the page is changed back to 1.
To Reproduce
Steps to reproduce the behavior:
- Go to the modules list
- Search for something with a lot of outputs (e.g.
fasta
) - Switch to page 2 of the resutls
- Replace the search text with something with few outputs (e.g.
seqtk
)
Expected behavior
The results for the new prompt should appear on screen. Instead, only the page switcher is visible.
Browser (please complete the following information):
- OS: Ubuntu 22
- Browser: Firefox
- Version: 132
Additional context
I almost started making a new modules because of this. Turns out it already exists.
Activity