Skip to content

Fixes bug when clearing tokens via jobs filtered search

Payton Burdette requested to merge 397084-fix-clear-status-jobs into master

What does this MR do and why?

Previously if you cleared a token and tried to search again, the previous value was retained in search. This MR detects if filters are present and if they aren't then we clear previous settings.

Bug report video here #397084 (closed)

Screenshots or screen recordings

Screen_Shot_2023-04-03_at_2.43.02_PM

How to set up and validate locally

  1. CI/CD > Jobs
  2. Filter for status
  3. Clear filter and submit the search with no filters
  4. Should not use previous status and should reset query params

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #397084 (closed)

Edited by Payton Burdette

Merge request reports