Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Injects list text search doesn't update the total number of elements when there are more than one page #2164

Open
impolitepanda opened this issue Jan 7, 2025 · 0 comments
Labels
bug use for describing something not working as expected
Milestone

Comments

@impolitepanda
Copy link
Member

Description

When reducing the injects displayed via a text search, the total number of elements is not updated to reflect this change.
It does work on single page data tables, but not where there are multiple pages.

Environment

  1. MacOS
  2. OpenBAS version: OpenBAS 1.11.0
  3. OpenBAS client: frontend
  4. Other environment details: replicate firefox/chrome

Reproducible Steps

Steps to create the smallest reproducible scenario:

  • Go to scenario -> Inject tabs, choose a page length of 20 (for easier testing, but works with other values).
  • Either choose a scenario with more than 20 injects or create them
  • search with any text to reduce the number of injects matching to < 20
  • Optional for toolbar display: Check the "select all" button

Expected Output

Total number should reflect the number of elements matching the text search

Actual Output

  • When applying a text search on the inject lists (either for simulations or scenarios), if the data table contains more than one page, the total number of element displayed is not updated.

  • See toolbar when "select all" is checked and page number on the top right of following screenshot

Screenshots

Image

@impolitepanda impolitepanda added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Jan 7, 2025
@jborozco jborozco removed the needs triage use to identify issue needing triage from Filigran Product team label Jan 8, 2025
@EllynBsc EllynBsc added this to the Bugs backlog milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected
Projects
None yet
Development

No branches or pull requests

3 participants