Skip to content

Pagination in modules list does not reset on short search output #2883

Open
@itrujnara

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:

  1. Go to the modules list
  2. Search for something with a lot of outputs (e.g. fasta)
  3. Switch to page 2 of the resutls
  4. 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.

Screenshots
Image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions