Sorting issues or merge request lists removes the active filter

Summary

Sorting issues or merge request lists (group and project level) removes the active filter

Steps to reproduce

  1. Visit an issue or merge request list at group or project level (example: https://gitlab.com/groups/gitlab-org/-/issues)
  2. Filter by author, assignee, or my-reaction and press enter to filter
    • milestone, label, and weight filters are not affected by this bug.
  3. With the filter active, change the sorting to any type

Example Project

https://gitlab.com/groups/gitlab-org/-/issues

What is the current bug behavior?

The filter is removed when changing the sorting.

What is the expected correct behavior?

The filter is kept when changing the sorting.

Output of checks

This bug happens on GitLab.com

Edited by Pedro Moreira da Silva