Sort method for /admin/runners is reset when deleting a runner
Summary
In /admin/runners, with sorting by "Last Contact", when I delete a runner, the webpage is refreshed but sort method is also reset.
Steps to reproduce
- Go to /admin/runners with admin profil
- Sort the runners by "Last Contact"
- Delete a runner with the "Remove" button
- The page is refreshed but "Last Contact" sort method is lost.
Example Project
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Gitlab OSS version 13.7.1
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)