Skip to content

Fix "clear filter" button appearing

What does this mr do?

The "clear filter" button had been appearing even when the submission didn't include any actual filters.

Actions taken to fix bug

Added a condition which checks whether the query params contain any filtering parameters before actually submitting them.

Does this MR meet the acceptance criteria?

  • I have added a changelog entry to reflect the significant changes I made and the bug I fixed.
  • A test was created to test the bug.
  • I have updated the documentation accordingly.
  • I adhere to the style guide.

Merge request reports